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:
Lennart Poettering 2014-06-16 12:25:49 +02:00
parent 4997cb9e16
commit b63bb8a724
4 changed files with 0 additions and 8 deletions

View File

@ -12,8 +12,6 @@ DefaultDependencies=no
Conflicts=shutdown.target Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
Before=sysinit.target shutdown.target systemd-update-done.service Before=sysinit.target shutdown.target systemd-update-done.service
RefuseManualStart=yes
RefuseManualStop=yes
ConditionNeedsUpdate=/etc ConditionNeedsUpdate=/etc
[Service] [Service]

View File

@ -12,8 +12,6 @@ DefaultDependencies=no
Conflicts=shutdown.target Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
Before=sysinit.target shutdown.target systemd-update-done.service Before=sysinit.target shutdown.target systemd-update-done.service
RefuseManualStart=yes
RefuseManualStop=yes
ConditionNeedsUpdate=/etc ConditionNeedsUpdate=/etc
[Service] [Service]

View File

@ -12,8 +12,6 @@ DefaultDependencies=no
Conflicts=shutdown.target Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
Before=sysinit.target shutdown.target systemd-update-done.service Before=sysinit.target shutdown.target systemd-update-done.service
RefuseManualStart=yes
RefuseManualStop=yes
ConditionNeedsUpdate=/etc ConditionNeedsUpdate=/etc
[Service] [Service]

View File

@ -12,8 +12,6 @@ DefaultDependencies=no
Conflicts=shutdown.target Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target
Before=sysinit.target shutdown.target Before=sysinit.target shutdown.target
RefuseManualStart=yes
RefuseManualStop=yes
ConditionNeedsUpdate=|/etc ConditionNeedsUpdate=|/etc
ConditionNeedsUpdate=|/var ConditionNeedsUpdate=|/var