summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/killall.service1
-rw-r--r--units/fedora/prefdm.service1
-rw-r--r--units/fedora/rc-local.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 13bb564ad5..09781075bf 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -17,6 +17,7 @@
[Unit]
Description=Kill All Processes
+After=shutdown.target
[Service]
Type=finish
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 7df09ac84d..227ffbaad8 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -19,6 +19,7 @@
Description=Display Manager
Before=graphical.target
After=basic.target syslog.target messagebus.service haldaemon.service
+Conflicts=shutdown.target
[Service]
ExecStart=/etc/X11/prefdm -nodaemon
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index e8284a183a..30a2c8afbd 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -18,6 +18,7 @@
[Unit]
Description=/etc/rc.local Compatibility
Requires=basic.target
+Conflicts=shutdown.target
# The rcN.d symlink uses the name "local" while the script itself is
# called "rc.local", hence carry both names here.