summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-15 23:42:53 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-15 23:42:53 +0200
commit2db7648aa8bc9a31342d82a3fa0e63664cae5431 (patch)
treedece15abdc3bdd314513b6cba46014235973afb0 /units
parenttmpfiles: create /etc/resolv.conf as link to networkd's version, if it doesn'... (diff)
downloadsystemd-2db7648aa8bc9a31342d82a3fa0e63664cae5431.tar.xz
systemd-2db7648aa8bc9a31342d82a3fa0e63664cae5431.zip
units: bring systemd-tmpfiles-setup-dev.service closer to systemd-tmpfiles-setup.service
Among other things, order both services relative to systemd-sysusers.service in the same direction.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-sysusers.service.in2
-rw-r--r--units/systemd-tmpfiles-setup-dev.service.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/units/systemd-sysusers.service.in b/units/systemd-sysusers.service.in
index cd65cc8980..a4c7714155 100644
--- a/units/systemd-sysusers.service.in
+++ b/units/systemd-sysusers.service.in
@@ -11,7 +11,7 @@ Documentation=man:sysusers.d(5) man:systemd-sysusers.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
-Before=sysinit.target shutdown.target systemd-tmpfiles-setup-dev.service systemd-update-done.service
+Before=sysinit.target shutdown.target systemd-update-done.service
RefuseManualStart=yes
RefuseManualStop=yes
ConditionNeedsUpdate=/etc
diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in
index 05b60a1a7d..b9cfc53bd1 100644
--- a/units/systemd-tmpfiles-setup-dev.service.in
+++ b/units/systemd-tmpfiles-setup-dev.service.in
@@ -9,7 +9,9 @@
Description=Create Static Device Nodes in /dev
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
-Before=sysinit.target local-fs-pre.target systemd-udevd.service
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-sysusers.service
+Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target
ConditionCapability=CAP_MKNOD
[Service]