]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/systemd-networkd-wait-online.service.in
Merge pull request #33028 from yuwata/blockdev-util
[thirdparty/systemd.git] / units / systemd-networkd-wait-online.service.in
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 #
3 # This file is part of systemd.
4 #
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.
9
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
19
20 [Service]
21 Type=oneshot
22 ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online
23 RemainAfterExit=yes
24
25 [Install]
26 WantedBy=network-online.target