X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-udevd.service.in;h=99f51304e4d511a4b30cfc102cbeb883d4790ded;hp=3bf33e5266438ed5b204692f3729f561e085a375;hb=449f75549247b3b7b073a788f0f099ce6b7c5378;hpb=51dfddc2cceb345ffc994014e4a4b3f2d2d3a3aa diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 3bf33e526..99f51304e 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -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