chiark / gitweb /
networkd: improve logging
[elogind.git] / units / systemd-udevd.service.in
index 3bf33e5266438ed5b204692f3729f561e085a375..99f51304e4d511a4b30cfc102cbeb883d4790ded 100644 (file)
@@ -8,15 +8,16 @@
 [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
 OOMScoreAdjust=-1000
 Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
 Restart=always
+RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd