summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-25 21:22:52 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-25 21:29:09 +0100
commitb0afe214c043ec2360c652d02f1e28489b817628 (patch)
tree76f1ec562da725b4fb1f929f640be82673f11e3a /units
parentee64428ec25b8ebb47beda9f6729039f496cbc51 (diff)
units: order all udev services before sysinit.target, too
Not that it would matter much, but let's make things a bit more systematic: early boot services shall order themselves before sysinit.target, and nothing else.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-udev-settle.service.in1
-rw-r--r--units/systemd-udev-trigger.service.in3
-rw-r--r--units/systemd-udevd.service.in2
3 files changed, 4 insertions, 2 deletions
diff --git a/units/systemd-udev-settle.service.in b/units/systemd-udev-settle.service.in
index 107fd8d1cc..037dd9a872 100644
--- a/units/systemd-udev-settle.service.in
+++ b/units/systemd-udev-settle.service.in
@@ -15,6 +15,7 @@ Documentation=man:udev(7) man:systemd-udevd.service(8)
DefaultDependencies=no
Wants=systemd-udevd.service
After=systemd-udev-trigger.service
+Before=sysinit.target
ConditionCapability=CAP_MKNOD
[Service]
diff --git a/units/systemd-udev-trigger.service.in b/units/systemd-udev-trigger.service.in
index bafea54573..604c369a1b 100644
--- a/units/systemd-udev-trigger.service.in
+++ b/units/systemd-udev-trigger.service.in
@@ -8,9 +8,10 @@
[Unit]
Description=udev Coldplug all Devices
Documentation=man:udev(7) man:systemd-udevd.service(8)
+DefaultDependencies=no
Wants=systemd-udevd.service
After=systemd-udevd-kernel.socket systemd-udevd-control.socket
-DefaultDependencies=no
+Before=sysinit.target
ConditionCapability=CAP_MKNOD
[Service]
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index 97fb2f3ac5..ddef423625 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -8,10 +8,10 @@
[Unit]
Description=udev Kernel Device Manager
Documentation=man:systemd-udevd.service(8) man:udev(7)
+DefaultDependencies=no
Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
After=systemd-udevd-control.socket systemd-udevd-kernel.socket
Before=sysinit.target local-fs-pre.target
-DefaultDependencies=no
ConditionCapability=CAP_MKNOD
[Service]