chiark / gitweb /
systemctl: fix "reboot" call
[elogind.git] / units / systemd-udevd.service.in
index 2fe7822fe9e4ca77172f1d46402da0afd4c0501c..99f51304e4d511a4b30cfc102cbeb883d4790ded 100644 (file)
@@ -8,11 +8,11 @@
 [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=basic.target
-DefaultDependencies=no
-ConditionCapability=CAP_MKNOD
+Before=sysinit.target
+ConditionPathIsReadWrite=/sys
 
 [Service]
 Type=notify