chiark / gitweb /
0a5e8c51ff1b61b53c5db96d7ee34b37731f741c
[elogind.git] / units / udev-settle.service.in
1 # This service is usually not enabled by default. If enabled, it
2 # acts as a barrier for basic.target -- so all later services will
3 # wait for udev completely finishing its coldplug run.
4 #
5 # If needed, to work around broken or non-hotplug-aware services,
6 # it might be enabled unconditionally, or pulled-in on-demand by
7 # the services that assume a fully populated /dev at startup. It
8 # should not be used or pulled-in ever on systems without such
9 # legacy services running.
10
11 [Unit]
12 Description=udev Wait for Complete Device Initialization
13 DefaultDependencies=no
14 Wants=udev.service
15 After=udev-trigger.service
16 Before=basic.target
17 ConditionCapability=CAP_MKNOD
18
19 [Service]
20 Type=oneshot
21 TimeoutSec=180
22 RemainAfterExit=yes
23 ExecStart=@bindir@/udevadm settle
24
25 [Install]
26 WantedBy=basic.target