summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/connman.service.in1
-rwxr-xr-xvpn/connman-vpn.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/connman.service.in b/src/connman.service.in
index 503ec45..3bc442a 100755
--- a/src/connman.service.in
+++ b/src/connman.service.in
@@ -7,6 +7,7 @@ DefaultDependencies=no
Type=dbus
BusName=net.connman
Restart=on-failure
+SmackProcessLabel=System
ExecStart=@sbindir@/connmand -n --noplugin vpn
StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN
diff --git a/vpn/connman-vpn.service.in b/vpn/connman-vpn.service.in
index 71abb57..6cc59cb 100755
--- a/vpn/connman-vpn.service.in
+++ b/vpn/connman-vpn.service.in
@@ -6,6 +6,7 @@ After=dbus.socket
[Service]
Type=dbus
BusName=net.connman.vpn
+SmackProcessLabel=System
ExecStart=@sbindir@/connman-vpnd -n
StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN