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=ddee01537aa54829c69f4ae795187668a366d059;hp=97fb2f3ac5708f4a40e32e65435656d013ba81d9;hb=72543b361d653520b5bc3344bf4653385b61541e;hpb=89d09e1b5c65a2d97840f682e0932c8bb499f166 diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 97fb2f3ac..ddee01537 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -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=sysinit.target local-fs-pre.target -DefaultDependencies=no -ConditionCapability=CAP_MKNOD +Before=sysinit.target +ConditionPathIsReadWrite=/sys [Service] Type=notify @@ -21,3 +21,4 @@ Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-udevd +MountFlags=slave