summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/halt.service2
-rw-r--r--units/fedora/killall.service2
-rw-r--r--units/fedora/poweroff.service2
-rw-r--r--units/fedora/rc-local.service2
-rw-r--r--units/fedora/reboot.service2
-rw-r--r--units/fedora/sysinit.service2
6 files changed, 6 insertions, 6 deletions
diff --git a/units/fedora/halt.service b/units/fedora/halt.service
index a6c4786a8b..c337dce6d9 100644
--- a/units/fedora/halt.service
+++ b/units/fedora/halt.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=INIT_HALT=HALT RUNLEVEL=0
ExecStart=/etc/init.d/halt start
StandardOutput=tty
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 53c65d4a3b..b81b6a83d1 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -13,6 +13,6 @@ RefuseManualStart=yes
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
ExecStart=-/etc/init.d/killall start
StandardOutput=tty
diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service
index 7597f4f651..dbbed75d6d 100644
--- a/units/fedora/poweroff.service
+++ b/units/fedora/poweroff.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=RUNLEVEL=0
ExecStart=/etc/init.d/halt start
StandardOutput=tty
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index aff1290128..90a38a01bd 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -16,7 +16,7 @@ Names=rc-local.service local.service
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
-ValidNoProcess=yes
+RemainAfterExit=yes
SysVStartPriority=99
[Install]
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 6120ceb821..ca8b3b182a 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -13,7 +13,7 @@ After=shutdown.target umount.target killall.service
[Service]
Type=oneshot
-ValidNoProcess=yes
+RemainAfterExit=yes
Environment=RUNLEVEL=6
ExecStart=/etc/init.d/reboot start
StandardOutput=tty
diff --git a/units/fedora/sysinit.service b/units/fedora/sysinit.service
index 0c25bd2538..860d3a3458 100644
--- a/units/fedora/sysinit.service
+++ b/units/fedora/sysinit.service
@@ -16,4 +16,4 @@ ExecStart=/etc/rc.d/rc.sysinit
Type=forking
TimeoutSec=0
StandardInput=tty
-ValidNoProcess=yes
+RemainAfterExit=yes