chiark / gitweb /
systemd-tmpfiles-setup-dev: remain after exit
[elogind.git] / units / systemd-udevd.service.in
index 3bf33e5..99f5130 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