X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=init%2Fudev-settle.service.in;h=be06a3935279a240d14f30bcad624320b669d3c0;hb=ce440d1c1bcd9ac05a34bd987bc68744270214d7;hp=578a24f1ecf87a619fd4d6d9728865c6b37809a0;hpb=d15b727ef1375c665057c0fa278b2ea3778b8d3d;p=elogind.git diff --git a/init/udev-settle.service.in b/init/udev-settle.service.in index 578a24f1e..be06a3935 100644 --- a/init/udev-settle.service.in +++ b/init/udev-settle.service.in @@ -1,7 +1,16 @@ +# This barrier service is usually not enabled by default. If enabled, +# it acts as a barrier for basic.target -- so all later services will +# wait for udev completely finishing its coldplug run. +# +# It might be enabled just unconditionally, or pulled-in on-demand by +# broken or non-hotplug-aware services that assume a fully populated +# /dev at startup. + [Unit] -Description=udev - wait until full initialization +Description=udev Wait for Complete Device Initialization DefaultDependencies=no After=udev.service +Before=basic.target [Service] Type=oneshot @@ -9,5 +18,4 @@ RemainAfterExit=yes ExecStart=@sbindir@/udevadm settle [Install] -WantedBy=sysinit.target -Also=udev.service udev-retry.service +WantedBy=basic.target