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

SEE ALSO

79       systemd(1), systemd.service(5), systemd-networkd.service(8),
80       networkctl(1)
81
82
83
84systemd 245                            SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)
Impressum