X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-udevd.service.in;h=f6acd6fe4c76dd4a4d77befa3374eda8abee6b6d;hp=2fe7822fe9e4ca77172f1d46402da0afd4c0501c;hb=bf3f1271e2cc0c22b11c8a805a997578dabe9191;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 2fe7822fe..f6acd6fe4 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) -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 +Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket +After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udev-hwdb-update.service systemd-sysusers.service +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