mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 23:16:31 +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]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
ExecStart=/usr/sbin/hassos-apparmor
|
ExecStart=/usr/libexec/hassos-apparmor
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/hassos-expand
|
ExecStart=/usr/libexec/hassos-expand
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/hassos-persists-journald
|
ExecStart=/usr/libexec/hassos-persists-journald
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,5 +5,5 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/hassos-rate
|
ExecStart=/usr/libexec/hassos-rate
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/sbin/hassos-zram -t swap
|
ExecStart=/usr/libexec/hassos-zram -t swap
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
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
|
RemainAfterExit=true
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ RefuseManualStop=true
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
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
|
RemainAfterExit=true
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
|
|
||||||
|
@ -68,3 +68,4 @@ fi
|
|||||||
if [ "$TYPE" = "fs" ]; then
|
if [ "$TYPE" = "fs" ]; then
|
||||||
mkfs.ext4 -L "hassos-$MOUNT" -O ^has_journal "$DEVICE"
|
mkfs.ext4 -L "hassos-$MOUNT" -O ^has_journal "$DEVICE"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user