udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / systemd-networkd-wait-online.service.in
blob3dc5ce9265277f40210a6a1741105f656f5baff6
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 [Unit]
11 Description=Wait for Network to be Configured
12 Documentation=man:systemd-networkd-wait-online.service(8)
13 ConditionCapability=CAP_NET_ADMIN
14 DefaultDependencies=no
15 Conflicts=shutdown.target
16 BindsTo=systemd-networkd.service
17 After=systemd-networkd.service
18 Before=network-online.target shutdown.target
20 [Service]
21 Type=oneshot
22 ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online
23 RemainAfterExit=yes
25 [Install]
26 WantedBy=network-online.target