summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/basic.target2
-rw-r--r--units/fedora/killall.service2
-rw-r--r--units/gentoo/killall.service2
-rw-r--r--units/shutdown.target2
-rw-r--r--units/sysinit.target.m42
-rw-r--r--units/umount.target2
6 files changed, 6 insertions, 6 deletions
diff --git a/units/basic.target b/units/basic.target
index aa94b94ad6..ecd72ef0eb 100644
--- a/units/basic.target
+++ b/units/basic.target
@@ -11,4 +11,4 @@
Description=Basic System
Requires=sysinit.target local-fs.target swap.target sockets.target
After=sysinit.target local-fs.target swap.target sockets.target
-OnlyByDependency=yes
+RefuseManualStart=yes
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 73a0569290..3b27375fe5 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -9,7 +9,7 @@
Description=Kill All Processes
DefaultDependencies=no
After=shutdown.target
-OnlyByDependency=yes
+RefuseManualStart=yes
[Service]
Type=finish
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index 0d2f9238ec..3f107e3be5 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -9,7 +9,7 @@
Description=Kill All Processes
DefaultDependencies=no
After=shutdown.target
-OnlyByDependency=yes
+RefuseManualStart=yes
[Service]
Type=finish
diff --git a/units/shutdown.target b/units/shutdown.target
index 586ca4a758..6d1fb6f10f 100644
--- a/units/shutdown.target
+++ b/units/shutdown.target
@@ -9,5 +9,5 @@
[Unit]
Description=Shutdown
-OnlyByDependency=yes
+RefuseManualStart=yes
IgnoreDependencyFailure=yes
diff --git a/units/sysinit.target.m4 b/units/sysinit.target.m4
index 8ca37fff95..029bb3ca31 100644
--- a/units/sysinit.target.m4
+++ b/units/sysinit.target.m4
@@ -11,7 +11,7 @@
Description=System Initialization
Conflicts=emergency.service emergency.target
After=emergency.service emergency.target
-OnlyByDependency=yes
+RefuseManualStart=yes
m4_dnl
m4_ifdef(`TARGET_FEDORA',
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
diff --git a/units/umount.target b/units/umount.target
index 6a00c31328..c25696e375 100644
--- a/units/umount.target
+++ b/units/umount.target
@@ -9,5 +9,5 @@
[Unit]
Description=Unmount All Filesystems
-OnlyByDependency=yes
+RefuseManualStart=yes
IgnoreDependencyFailure=yes