Removed cap for mac override and change the label for connman dir
[platform/upstream/connman.git] / src / connman.service.in
old mode 100644 (file)
new mode 100755 (executable)
index 2e9e4d5..503ec45
@@ -1,13 +1,16 @@
 [Unit]
 Description=Connection service
-After=syslog.target
+After=net-config.service
+DefaultDependencies=no
 
 [Service]
 Type=dbus
 BusName=net.connman
 Restart=on-failure
-ExecStart=@prefix@/sbin/connmand -n
+ExecStart=@sbindir@/connmand -n --noplugin vpn
 StandardOutput=null
+CapabilityBoundingSet=~CAP_MAC_ADMIN
+CapabilityBoundingSet=~CAP_MAC_OVERRIDE
 
 [Install]
 WantedBy=multi-user.target