summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-03-29 01:14:53 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-03-29 01:14:53 +0200
commitce440d1c1bcd9ac05a34bd987bc68744270214d7 (patch)
treefd4bcaddd122fc9f87702b340db3d3e7bd27bc28 /init
parentb4155660f2b60006816de5966d2b1859dc57ff6a (diff)
systemd: do not enable udev-settle.service by default
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.
Diffstat (limited to 'init')
-rw-r--r--init/udev-settle.service.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/init/udev-settle.service.in b/init/udev-settle.service.in
index c5d7e96cb3..be06a39352 100644
--- a/init/udev-settle.service.in
+++ b/init/udev-settle.service.in
@@ -1,3 +1,11 @@
+# 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 for Complete Device Initialization
DefaultDependencies=no
@@ -8,3 +16,6 @@ Before=basic.target
Type=oneshot
RemainAfterExit=yes
ExecStart=@sbindir@/udevadm settle
+
+[Install]
+WantedBy=basic.target