]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
a7df2d1e | 2 | # |
3a67e927 TG |
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) | |
882b0112 | 13 | ConditionCapability=CAP_NET_ADMIN |
3a67e927 | 14 | DefaultDependencies=no |
4340e5b6 | 15 | Conflicts=shutdown.target |
da15f840 | 16 | BindsTo=systemd-networkd.service |
3a67e927 | 17 | After=systemd-networkd.service |
4340e5b6 | 18 | Before=network-online.target shutdown.target |
3a67e927 TG |
19 | |
20 | [Service] | |
21 | Type=oneshot | |
b0d3095f | 22 | ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online |
3a67e927 TG |
23 | RemainAfterExit=yes |
24 | ||
25 | [Install] | |
26 | WantedBy=network-online.target |