1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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.
This commit is contained in:
Lennart Poettering 2013-03-26 15:14:27 +01:00
parent 4e5ed9b69b
commit 6a9280cc60
6 changed files with 6 additions and 0 deletions

View File

@ -8,3 +8,4 @@
[Unit] [Unit]
Description=Local File Systems (Pre) Description=Local File Systems (Pre)
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes

View File

@ -11,3 +11,4 @@
[Unit] [Unit]
Description=Host and Network Name Lookups Description=Host and Network Name Lookups
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes

View File

@ -11,3 +11,4 @@
[Unit] [Unit]
Description=User and Group Name Lookups Description=User and Group Name Lookups
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes

View File

@ -8,3 +8,4 @@
[Unit] [Unit]
Description=Remote File Systems (Pre) Description=Remote File Systems (Pre)
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes

View File

@ -11,3 +11,4 @@
[Unit] [Unit]
Description=RPC Port Mapper Description=RPC Port Mapper
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes

View File

@ -11,3 +11,4 @@
[Unit] [Unit]
Description=System Time Synchronized Description=System Time Synchronized
Documentation=man:systemd.special(7) Documentation=man:systemd.special(7)
RefuseManualStart=yes