mirror of
https://github.com/systemd/systemd.git
synced 2024-12-05 00:04:02 +08:00
units: drop RefuseManualStart= from a couple of update services
The only update service we really need to guard like this is systemd-tmpfiles-setup.service since if invoked manually might create /var/run/nologin and thus blocking the user from login. The other services are pretty much idempotent and don't suffer by this problem, hence let's simplify them.
This commit is contained in:
parent
4997cb9e16
commit
b63bb8a724
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
||||
Before=sysinit.target shutdown.target systemd-update-done.service
|
||||
RefuseManualStart=yes
|
||||
RefuseManualStop=yes
|
||||
ConditionNeedsUpdate=/etc
|
||||
|
||||
[Service]
|
||||
|
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
|
||||
Before=sysinit.target shutdown.target systemd-update-done.service
|
||||
RefuseManualStart=yes
|
||||
RefuseManualStop=yes
|
||||
ConditionNeedsUpdate=/etc
|
||||
|
||||
[Service]
|
||||
|
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
|
||||
Before=sysinit.target shutdown.target systemd-update-done.service
|
||||
RefuseManualStart=yes
|
||||
RefuseManualStop=yes
|
||||
ConditionNeedsUpdate=/etc
|
||||
|
||||
[Service]
|
||||
|
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
|
||||
Before=sysinit.target shutdown.target
|
||||
RefuseManualStart=yes
|
||||
RefuseManualStop=yes
|
||||
ConditionNeedsUpdate=|/etc
|
||||
ConditionNeedsUpdate=|/var
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user