]>
Commit | Line | Data |
---|---|---|
3a67e927 TG |
1 | <?xml version='1.0'?> <!--*-nxml-*--> |
2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" | |
12b42c76 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
3a67e927 TG |
4 | |
5 | <!-- | |
572eb058 ZJS |
6 | SPDX-License-Identifier: LGPL-2.1+ |
7 | ||
96b2fb93 | 8 | Copyright © 2014 Tom Gundersen |
3a67e927 TG |
9 | --> |
10 | ||
11 | <refentry id="systemd-networkd-wait-online.service" conditional='ENABLE_NETWORKD'> | |
12 | ||
798d3a52 | 13 | <refentryinfo> |
77e3a240 | 14 | <title>systemd-networkd-wait-online.service</title> |
798d3a52 | 15 | <productname>systemd</productname> |
798d3a52 ZJS |
16 | </refentryinfo> |
17 | ||
18 | <refmeta> | |
19 | <refentrytitle>systemd-networkd-wait-online.service</refentrytitle> | |
20 | <manvolnum>8</manvolnum> | |
21 | </refmeta> | |
22 | ||
23 | <refnamediv> | |
24 | <refname>systemd-networkd-wait-online.service</refname> | |
25 | <refname>systemd-networkd-wait-online</refname> | |
26 | <refpurpose>Wait for network to come online</refpurpose> | |
27 | </refnamediv> | |
28 | ||
29 | <refsynopsisdiv> | |
30 | <para><filename>systemd-networkd-wait-online.service</filename></para> | |
12b42c76 | 31 | <para><filename>/usr/lib/systemd/systemd-networkd-wait-online</filename></para> |
798d3a52 ZJS |
32 | </refsynopsisdiv> |
33 | ||
34 | <refsect1> | |
35 | <title>Description</title> | |
36 | ||
37 | <para><command>systemd-networkd-wait-online</command> is a | |
7cfcb252 | 38 | oneshot system service (see <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>), that waits for the network to be |
798d3a52 ZJS |
39 | configured. By default, it will wait for all links it is aware of |
40 | and which are managed by | |
41 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
42 | to be fully configured or failed, and for at least one link to | |
43 | gain a carrier.</para> | |
44 | </refsect1> | |
45 | ||
46 | <refsect1> | |
47 | <title>Options</title> | |
48 | ||
49 | <para>The following options are understood:</para> | |
50 | ||
51 | <variablelist> | |
52 | <varlistentry> | |
53 | <term><option>-i</option></term> | |
54 | <term><option>--interface=</option></term> | |
55 | ||
56 | <listitem><para>Network interface to wait for before deciding | |
57 | if the system is online. This is useful when a system has | |
58 | several interfaces which will be configured, but a particular | |
59 | one is necessary to access some network resources. This option | |
60 | may be used more than once to wait for multiple network | |
be0c1370 TG |
61 | interfaces. When used, all other interfaces are ignored. |
62 | </para></listitem> | |
798d3a52 ZJS |
63 | </varlistentry> |
64 | <varlistentry> | |
65 | <term><option>--ignore=</option></term> | |
66 | <listitem><para>Network interfaces to be ignored when deciding | |
b938cb90 | 67 | if the system is online. By default, only the loopback |
798d3a52 ZJS |
68 | interface is ignored. This option may be used more than once |
69 | to ignore multiple network interfaces. </para></listitem> | |
70 | </varlistentry> | |
71 | <varlistentry> | |
72 | <term><option>--timeout=</option></term> | |
73 | <listitem><para>Fail the service if the network is not online | |
74 | by the time the timeout elapses. A timeout of 0 disables the | |
75 | timeout. Defaults to 120 seconds. </para></listitem> | |
76 | </varlistentry> | |
77 | </variablelist> | |
78 | </refsect1> | |
79 | ||
80 | <refsect1> | |
81 | <title>See Also</title> | |
82 | <para> | |
83 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
7cfcb252 | 84 | <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
798d3a52 ZJS |
85 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
86 | </para> | |
87 | </refsect1> | |
3a67e927 TG |
88 | |
89 | </refentry> |