udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / systemd-udev-settle.service
blob994c47fce4b5d3bc0f9c0bd78704c2398a148411
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
6 #  under the terms of the GNU Lesser General Public License as published by
7 #  the Free Software Foundation; either version 2.1 of the License, or
8 #  (at your option) any later version.
10 # This service can dynamically be pulled-in by legacy services which
11 # cannot reliably cope with dynamic device configurations, and wrongfully
12 # expect a populated /dev during bootup.
14 [Unit]
15 Description=Wait for udev To Complete Device Initialization
16 Documentation=man:systemd-udev-settle.service(8)
17 DefaultDependencies=no
18 Wants=systemd-udevd.service
19 After=systemd-udev-trigger.service
20 Before=sysinit.target
21 ConditionPathIsReadWrite=/sys
23 [Service]
24 Type=oneshot
25 TimeoutSec=180
26 RemainAfterExit=yes
27 ExecStart=udevadm settle