summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-16 12:25:49 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-16 12:25:49 +0200
commitb63bb8a724cab7a315f04c3068f0d628cc163b8b (patch)
tree385e64e0b65acc5ddf1ac0152911e7a414bcf600
parent4997cb9e16c14cda41a415412c6bd40849ef18ac (diff)
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.
-rw-r--r--units/systemd-journal-catalog-update.service.in2
-rw-r--r--units/systemd-sysusers.service.in2
-rw-r--r--units/systemd-udev-hwdb-update.service.in2
-rw-r--r--units/systemd-update-done.service.in2
4 files changed, 0 insertions, 8 deletions
diff --git a/units/systemd-journal-catalog-update.service.in b/units/systemd-journal-catalog-update.service.in
index d45381d47b..0cb7076f12 100644
--- a/units/systemd-journal-catalog-update.service.in
+++ b/units/systemd-journal-catalog-update.service.in
@@ -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]
diff --git a/units/systemd-sysusers.service.in b/units/systemd-sysusers.service.in
index a4c7714155..69fea11fb1 100644
--- a/units/systemd-sysusers.service.in
+++ b/units/systemd-sysusers.service.in
@@ -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]
diff --git a/units/systemd-udev-hwdb-update.service.in b/units/systemd-udev-hwdb-update.service.in
index 4e7b845ea4..153d93c7e5 100644
--- a/units/systemd-udev-hwdb-update.service.in
+++ b/units/systemd-udev-hwdb-update.service.in
@@ -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]
diff --git a/units/systemd-update-done.service.in b/units/systemd-update-done.service.in
index 1a907f9637..f75fcff578 100644
--- a/units/systemd-update-done.service.in
+++ b/units/systemd-update-done.service.in
@@ -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