summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-26 15:14:27 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-26 15:15:39 +0100
commit6a9280cc60b333817e22f0885b9c145e6252cc0b (patch)
tree7be26e853c869d60b51d6e92a2af01c9d7b392aa /units
parent4e5ed9b69bb819d395e13da8ef033e17a0df8988 (diff)
downloadsystemd-6a9280cc60b333817e22f0885b9c145e6252cc0b.tar.gz
units: disallow manual starting of passive units
As passive units only are useful for ordering things within the initial transaction there is no point in ever activating them manually, hence refuse it.
Diffstat (limited to 'units')
-rw-r--r--units/local-fs-pre.target1
-rw-r--r--units/nss-lookup.target1
-rw-r--r--units/nss-user-lookup.target1
-rw-r--r--units/remote-fs-pre.target1
-rw-r--r--units/rpcbind.target1
-rw-r--r--units/time-sync.target1
6 files changed, 6 insertions, 0 deletions
diff --git a/units/local-fs-pre.target b/units/local-fs-pre.target
index f8760ec9df..809f2ed236 100644
--- a/units/local-fs-pre.target
+++ b/units/local-fs-pre.target
@@ -8,3 +8,4 @@
[Unit]
Description=Local File Systems (Pre)
Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/nss-lookup.target b/units/nss-lookup.target
index 339b507fae..c9e3a7c419 100644
--- a/units/nss-lookup.target
+++ b/units/nss-lookup.target
@@ -11,3 +11,4 @@
[Unit]
Description=Host and Network Name Lookups
Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/nss-user-lookup.target b/units/nss-user-lookup.target
index 43b722c970..80023cdfb6 100644
--- a/units/nss-user-lookup.target
+++ b/units/nss-user-lookup.target
@@ -11,3 +11,4 @@
[Unit]
Description=User and Group Name Lookups
Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/remote-fs-pre.target b/units/remote-fs-pre.target
index febdc01c7c..36a196cfda 100644
--- a/units/remote-fs-pre.target
+++ b/units/remote-fs-pre.target
@@ -8,3 +8,4 @@
[Unit]
Description=Remote File Systems (Pre)
Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/rpcbind.target b/units/rpcbind.target
index eb06a6db26..e03e915ee0 100644
--- a/units/rpcbind.target
+++ b/units/rpcbind.target
@@ -11,3 +11,4 @@
[Unit]
Description=RPC Port Mapper
Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/time-sync.target b/units/time-sync.target
index ec00ecbbf4..54078069f2 100644
--- a/units/time-sync.target
+++ b/units/time-sync.target
@@ -11,3 +11,4 @@
[Unit]
Description=System Time Synchronized
Documentation=man:systemd.special(7)
+RefuseManualStart=yes