mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
OS: move service scripts into libexec
This commit is contained in:
parent
bc3cc20629
commit
ae0a2fe264
@ -7,7 +7,7 @@ RequiresMountsFor=/mnt/data
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/usr/sbin/hassos-apparmor
|
||||
ExecStart=/usr/libexec/hassos-apparmor
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-expand
|
||||
ExecStart=/usr/libexec/hassos-expand
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-persists-journald
|
||||
ExecStart=/usr/libexec/hassos-persists-journald
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
|
@ -5,5 +5,5 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-rate
|
||||
ExecStart=/usr/libexec/hassos-rate
|
||||
RemainAfterExit=true
|
||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-zram -t swap
|
||||
ExecStart=/usr/libexec/hassos-zram -t swap
|
||||
RemainAfterExit=true
|
||||
StandardOutput=null
|
||||
|
||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-zram -t fs -m tmp -s 16M
|
||||
ExecStart=/usr/libexec/hassos-zram -t fs -m tmp -s 16M
|
||||
RemainAfterExit=true
|
||||
StandardOutput=null
|
||||
|
||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/sbin/hassos-zram -t fs -m var -s 32M
|
||||
ExecStart=/usr/libexec/hassos-zram -t fs -m var -s 32M
|
||||
RemainAfterExit=true
|
||||
StandardOutput=null
|
||||
|
||||
|
@ -68,3 +68,4 @@ fi
|
||||
if [ "$TYPE" = "fs" ]; then
|
||||
mkfs.ext4 -L "hassos-$MOUNT" -O ^has_journal "$DEVICE"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user