summaryrefslogtreecommitdiff
path: root/src/connman_tv.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/connman_tv.service.in')
-rw-r--r--src/connman_tv.service.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/connman_tv.service.in b/src/connman_tv.service.in
index c032846..3bc442a 100644
--- a/src/connman_tv.service.in
+++ b/src/connman_tv.service.in
@@ -1,12 +1,15 @@
[Unit]
Description=Connection service
+After=net-config.service
+DefaultDependencies=no
[Service]
Type=dbus
BusName=net.connman
-RemainAfterExit=yes
-ExecStartPre=/usr/bin/dbus-send --system --dest=net.netconfig / net.netconfig.auto.activate
-ExecStart=/usr/sbin/connmand --noplugin vpn
+Restart=on-failure
+SmackProcessLabel=System
+ExecStart=@sbindir@/connmand -n --noplugin vpn
+StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN
CapabilityBoundingSet=~CAP_MAC_OVERRIDE