chiark / gitweb /
systemd: do not enable udev-settle.service by default
[elogind.git] / init / udev-settle.service.in
index be6acd200022332d66a35ce16237520c58125fa7..be06a3935279a240d14f30bcad624320b669d3c0 100644 (file)
@@ -1,14 +1,21 @@
+# 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=wait until full initialization
+Description=udev Wait for Complete Device Initialization
 DefaultDependencies=no
 After=udev.service
+Before=basic.target
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 ExecStart=@sbindir@/udevadm settle
 
 [Install]
-WantedBy=sysinit.target
-Also=udev.service
-Also=udev-retry.service
+WantedBy=basic.target