summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-21 23:53:09 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-21 23:53:09 +0200
commite962f5c34f8e292090fa8c7cb265106a621c8735 (patch)
tree9f170545c8c9198a26575a72ef17915c025419e6 /units
parentbc0f8771f23dc3952bf4b06301dc842ba625a0f2 (diff)
units: mark a couple of services as OnlyByDependency
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