summaryrefslogtreecommitdiff
path: root/vpn/connman-vpn.service.in
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2017-06-22 17:49:20 +0900
committertaesub kim <taesub.kim@samsung.com>2017-07-20 15:51:29 +0900
commite4544ee49501928e15c2174d1e4936dc6ff7d97e (patch)
treefc25dab6d28a737344467b8924e0667bcb5adae7 /vpn/connman-vpn.service.in
parentce407f97aed0fdba65b5d881ef19cd7ee5e7abeb (diff)
downloadconnman-e4544ee49501928e15c2174d1e4936dc6ff7d97e.tar.gz
connman-e4544ee49501928e15c2174d1e4936dc6ff7d97e.tar.bz2
connman-e4544ee49501928e15c2174d1e4936dc6ff7d97e.zip
Migrate root daemon to non rootsubmit/tizen/20170724.063335
Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Diffstat (limited to 'vpn/connman-vpn.service.in')
-rwxr-xr-xvpn/connman-vpn.service.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/vpn/connman-vpn.service.in b/vpn/connman-vpn.service.in
index 6cc59cbc..a4c294ec 100755
--- a/vpn/connman-vpn.service.in
+++ b/vpn/connman-vpn.service.in
@@ -5,12 +5,14 @@ After=dbus.socket
[Service]
Type=dbus
+User=network_fw
+Group=network_fw
BusName=net.connman.vpn
SmackProcessLabel=System
-ExecStart=@sbindir@/connman-vpnd -n
+ExecStart=@bindir@/connman-vpnd -n
StandardOutput=null
-CapabilityBoundingSet=~CAP_MAC_ADMIN
-CapabilityBoundingSet=~CAP_MAC_OVERRIDE
+Capabilities=cap_net_admin,cap_net_bind_service,cap_net_broadcast,cap_net_raw=i
+SecureBits=keep-caps
[Install]
WantedBy=multi-user.target