mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-10 09:50:06 +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:
@ -8,3 +8,4 @@
|
||||
[Unit]
|
||||
Description=Local File Systems (Pre)
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
@ -11,3 +11,4 @@
|
||||
[Unit]
|
||||
Description=Host and Network Name Lookups
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
@ -11,3 +11,4 @@
|
||||
[Unit]
|
||||
Description=User and Group Name Lookups
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
@ -8,3 +8,4 @@
|
||||
[Unit]
|
||||
Description=Remote File Systems (Pre)
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
@ -11,3 +11,4 @@
|
||||
[Unit]
|
||||
Description=RPC Port Mapper
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
@ -11,3 +11,4 @@
|
||||
[Unit]
|
||||
Description=System Time Synchronized
|
||||
Documentation=man:systemd.special(7)
|
||||
RefuseManualStart=yes
|
||||
|
Reference in New Issue
Block a user