1SYSTEMD-NETWORKD-WAIT-sOyNsLtIeNmEd.-SnEeRtVwIoCrEk(d8-)waSiYtS-ToEnMlDi-nNeE.TsWeOrRvKiDc-eWAIT-ONLINE.SERVICE(8)
2
3
4

NAME

6       systemd-networkd-wait-online.service, systemd-networkd-wait-online -
7       Wait for network to come online
8

SYNOPSIS

10       systemd-networkd-wait-online.service
11
12       /usr/lib/systemd/systemd-networkd-wait-online
13

DESCRIPTION

15       systemd-networkd-wait-online is a oneshot system service (see
16       systemd.service(5)), that waits for the network to be configured. By
17       default, it will wait for all links it is aware of and which are
18       managed by systemd-networkd.service(8) to be fully configured or
19       failed, and for at least one link to be online. Here, online means that
20       the link's operational state is equal or higher than "degraded". The
21       threshold can be configured by --operational-state= option.
22

OPTIONS

24       The following options are understood:
25
26       -i INTERFACE[:OPERSTATE], --interface=INTERFACE[:OPERSTATE]
27           Network interface to wait for before deciding if the system is
28           online. This is useful when a system has several interfaces which
29           will be configured, but a particular one is necessary to access
30           some network resources. When used, all other interfaces are
31           ignored. This option may be used more than once to wait for
32           multiple network interfaces. When this option is specified multiple
33           times, then systemd-networkd-wait-online waits for all specified
34           interfaces to be online. Optionally, required minimum operational
35           state can be specified after a colon ":". Please see networkctl(1)
36           for possible operational states. If the operational state is not
37           specified here, then the value from RequiredForOnline= in the
38           corresponding .network file is used if present, and "degraded"
39           otherwise.
40
41       --ignore=INTERFACE
42           Network interfaces to be ignored when deciding if the system is
43           online. By default, only the loopback interface is ignored. This
44           option may be used more than once to ignore multiple network
45           interfaces.
46
47       -o OPERSTATE, --operational-state=OPERSTATE
48           Takes an operational state. Please see networkctl(1) for possible
49           operational states. If set, the specified value overrides
50           RequiredForOnline= settings in .network files. But this does not
51           override operational states specified in --interface= option.
52
53       --any
54           Even if several interfaces are in configuring state,
55           systemd-networkd-wait-online exits with success when at least one
56           interface becomes online. When this option is specified with
57           --interface=, then systemd-networkd-wait-online waits for one of
58           the specified interfaces to be online. This option is useful when
59           some interfaces may not have carrier on boot.
60
61       --timeout= SECS
62           Fail the service if the network is not online by the time the
63           timeout elapses. A timeout of 0 disables the timeout. Defaults to
64           120 seconds.
65
66       -q, --quiet
67           Suppress log messages.
68
69       -h, --help
70           Print a short help text and exit.
71
72       --version
73           Print a short version string and exit.
74

SEE ALSO

76       systemd(1), systemd.service(5), systemd-networkd.service(8),
77       networkctl(1)
78
79
80
81systemd 243                            SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)
Impressum