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:
parent
4e5ed9b69b
commit
6a9280cc60
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user