Try an network_online target for stretch hosts
[mirror/dsa-puppet.git] / modules / stretch / files / ifupdown-wait-online.service
1 # from busters's ifupdown 0.8.32 package (as of May 2018)
2 [Unit]
3 Description=Wait for network to be configured by ifupdown
4 DefaultDependencies=no
5 Before=network-online.target
6 ConditionFileIsExecutable=/sbin/ifup
7
8 [Service]
9 Type=oneshot
10 ExecStart=/lib/ifupdown/wait-online.sh
11 RemainAfterExit=yes
12
13 [Install]
14 WantedBy=network-online.target