]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-networkd-wait-online.service.xml
157671d6b2589fca8d7b3bcced670c7d1878ed8a
[thirdparty/systemd.git] / man / systemd-networkd-wait-online.service.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY % entities SYSTEM "custom-entities.ent" >
5 %entities;
6 ]>
7
8 <!--
9 This file is part of systemd.
10
11 Copyright 2014 Tom Gundersen
12
13 systemd is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published by
15 the Free Software Foundation; either version 2.1 of the License, or
16 (at your option) any later version.
17
18 systemd is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public License
24 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25 -->
26
27 <refentry id="systemd-networkd-wait-online.service" conditional='ENABLE_NETWORKD'>
28
29 <refentryinfo>
30 <title>systemd-networkd.service</title>
31 <productname>systemd</productname>
32
33 <authorgroup>
34 <author>
35 <contrib>Developer</contrib>
36 <firstname>Tom</firstname>
37 <surname>Gundersen</surname>
38 <email>teg@jklm.no</email>
39 </author>
40 </authorgroup>
41 </refentryinfo>
42
43 <refmeta>
44 <refentrytitle>systemd-networkd-wait-online.service</refentrytitle>
45 <manvolnum>8</manvolnum>
46 </refmeta>
47
48 <refnamediv>
49 <refname>systemd-networkd-wait-online.service</refname>
50 <refname>systemd-networkd-wait-online</refname>
51 <refpurpose>Wait for network to come online</refpurpose>
52 </refnamediv>
53
54 <refsynopsisdiv>
55 <para><filename>systemd-networkd-wait-online.service</filename></para>
56 <para><filename>&rootlibexecdir;/systemd-networkd-wait-online</filename></para>
57 </refsynopsisdiv>
58
59 <refsect1>
60 <title>Description</title>
61
62 <para><command>systemd-networkd-wait-online</command> is a
63 one-shot system service that waits for the network to be
64 configured. By default, it will wait for all links it is aware of
65 and which are managed by
66 <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
67 to be fully configured or failed, and for at least one link to
68 gain a carrier.</para>
69 </refsect1>
70
71 <refsect1>
72 <title>Options</title>
73
74 <para>The following options are understood:</para>
75
76 <variablelist>
77 <varlistentry>
78 <term><option>-i</option></term>
79 <term><option>--interface=</option></term>
80
81 <listitem><para>Network interface to wait for before deciding
82 if the system is online. This is useful when a system has
83 several interfaces which will be configured, but a particular
84 one is necessary to access some network resources. This option
85 may be used more than once to wait for multiple network
86 interfaces.</para></listitem>
87 </varlistentry>
88 <varlistentry>
89 <term><option>--ignore=</option></term>
90 <listitem><para>Network interfaces to be ignored when deciding
91 if the system is online. By default only the loopback
92 interface is ignored. This option may be used more than once
93 to ignore multiple network interfaces. </para></listitem>
94 </varlistentry>
95 <varlistentry>
96 <term><option>--timeout=</option></term>
97 <listitem><para>Fail the service if the network is not online
98 by the time the timeout elapses. A timeout of 0 disables the
99 timeout. Defaults to 120 seconds. </para></listitem>
100 </varlistentry>
101 </variablelist>
102 </refsect1>
103
104 <refsect1>
105 <title>See Also</title>
106 <para>
107 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
108 <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
109 </para>
110 </refsect1>
111
112 </refentry>