mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 23:51:28 +03:00
ce440d1c1b
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.
22 lines
594 B
SYSTEMD
22 lines
594 B
SYSTEMD
# 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
|
|
After=udev.service
|
|
Before=basic.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@sbindir@/udevadm settle
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|