summaryrefslogtreecommitdiff
path: root/units/gentoo
diff options
context:
space:
mode:
Diffstat (limited to 'units/gentoo')
-rw-r--r--units/gentoo/halt.service2
-rw-r--r--units/gentoo/killall.service2
-rw-r--r--units/gentoo/poweroff.service2
-rw-r--r--units/gentoo/reboot.service2
4 files changed, 4 insertions, 4 deletions
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index 826c69f061..d97b942fe0 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
StandardOutput=tty
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index 8b42af87b5..de994d1f03 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -13,6 +13,6 @@ RefuseManualStart=yes
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
ExecStart=-/etc/init.d/killprocs start
StandardOutput=tty
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index 8a5a62794f..2483f9448c 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
StandardOutput=tty
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index b5defb1680..8f8d7328c7 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -13,6 +13,6 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
ExecStart=/etc/init.d/reboot.sh
StandardOutput=tty