summaryrefslogtreecommitdiff
path: root/src/connman-wait-online.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/connman-wait-online.service.in')
-rw-r--r--src/connman-wait-online.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/connman-wait-online.service.in b/src/connman-wait-online.service.in
new file mode 100644
index 00000000..c2ad5cc9
--- /dev/null
+++ b/src/connman-wait-online.service.in
@@ -0,0 +1,15 @@
+[Unit]
+Description=Wait for network to be configured by ConnMan
+Requisite=connman.service
+After=connman.service
+Before=network-online.target
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=@sbindir@/connmand-wait-online
+RemainAfterExit=yes
+
+[Install]
+WantedBy=network-online.target