summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/basic.target.m41
-rw-r--r--units/fedora/killall.service1
-rw-r--r--units/shutdown.target1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/basic.target.m4 b/units/basic.target.m4
index a86433233e..537ad8daf7 100644
--- a/units/basic.target.m4
+++ b/units/basic.target.m4
@@ -12,6 +12,7 @@ Description=Basic System
Requires=local-fs.target swap.target sockets.target
After=local-fs.target swap.target sockets.target
Conflicts=emergency.service
+OnlyByDependency=yes
m4_dnl
m4_ifdef(`TARGET_FEDORA',
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index a7e07c7fcd..84c56cb8d3 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -8,6 +8,7 @@
[Unit]
Description=Kill All Processes
After=shutdown.target
+OnlyByDependency=yes
[Service]
Type=finish
diff --git a/units/shutdown.target b/units/shutdown.target
index 098cd280a2..c05b8b93e3 100644
--- a/units/shutdown.target
+++ b/units/shutdown.target
@@ -9,3 +9,4 @@
[Unit]
Description=Shutdown
+OnlyByDependency=yes