summaryrefslogtreecommitdiff
path: root/units/suse
diff options
context:
space:
mode:
Diffstat (limited to 'units/suse')
-rw-r--r--units/suse/halt.service2
-rw-r--r--units/suse/poweroff.service2
-rw-r--r--units/suse/reboot.service2
3 files changed, 3 insertions, 3 deletions
diff --git a/units/suse/halt.service b/units/suse/halt.service
index 32b7dc204a..d826ca3e22 100644
--- a/units/suse/halt.service
+++ b/units/suse/halt.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
ExecStart=/etc/init.d/halt
StandardOutput=tty
diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service
index 13b13b0427..fe8c67761e 100644
--- a/units/suse/poweroff.service
+++ b/units/suse/poweroff.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=COLD_BOOT=1
ExecStart=/etc/init.d/halt
StandardOutput=tty
diff --git a/units/suse/reboot.service b/units/suse/reboot.service
index 3ee290e659..001d1364a0 100644
--- a/units/suse/reboot.service
+++ b/units/suse/reboot.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=COLD_BOOT=1
ExecStart=/etc/init.d/reboot
StandardOutput=tty