summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunjin Lee <yunjin-.lee@samsung.com>2016-07-20 21:02:30 +0900
committerYunjin Lee <yunjin-.lee@samsung.com>2016-07-20 21:02:30 +0900
commit746566255e1b32c76f6fd231c8d26415b6b57c34 (patch)
treee75facfffdccc153d12303f4815a85f8639a3306
parent0a714ce6194d231e509310aa69a230e7e5914853 (diff)
downloadconnman-746566255e1b32c76f6fd231c8d26415b6b57c34.tar.gz
connman-746566255e1b32c76f6fd231c8d26415b6b57c34.tar.bz2
connman-746566255e1b32c76f6fd231c8d26415b6b57c34.zip
Change-Id: I233c41596ec8fb4424e18c80e043658f3d510d47 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
-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 503ec455..3bc442a5 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 71abb570..6cc59cbc 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