summarylogtreecommitdiffstats
path: root/network-wait-online@.service
diff options
context:
space:
mode:
Diffstat (limited to 'network-wait-online@.service')
-rw-r--r--network-wait-online@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/network-wait-online@.service b/network-wait-online@.service
new file mode 100644
index 000000000000..cded481b9fcf
--- /dev/null
+++ b/network-wait-online@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Network Wait Online
+After=dhcpcd@.service
+Conflicts=shutdown.target
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/network-wait-online -m ping -t 60 %I
+RemainAfterExit=yes
+
+[Install]
+WantedBy=network.target