Index · Directives systemd 226


systemd-networkd-wait-online.service, systemd-networkd-wait-online — Wait for network to come online





systemd-networkd-wait-online is a one-shot system service that waits for the network to be configured. By default, it will wait for all links it is aware of and which are managed by systemd-networkd.service(8) to be fully configured or failed, and for at least one link to gain a carrier.


The following options are understood:

-i, --interface=

Network interface to wait for before deciding if the system is online. This is useful when a system has several interfaces which will be configured, but a particular one is necessary to access some network resources. This option may be used more than once to wait for multiple network interfaces. When used, all other interfaces are ignored.


Network interfaces to be ignored when deciding if the system is online. By default only the loopback interface is ignored. This option may be used more than once to ignore multiple network interfaces.


Fail the service if the network is not online by the time the timeout elapses. A timeout of 0 disables the timeout. Defaults to 120 seconds.

See Also

systemd(1), systemd-networkd.service(8)