diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-09 15:43:58 +0900 |
---|---|---|
committer | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-09 15:44:00 +0900 |
commit | fe5392acf9111aed0f479a56d6953fbc7c6754da (patch) | |
tree | abe4155d826d2a39ae2749a0d0c433e0721c9be7 /vpn | |
parent | 0ea98e0cff37f5a63783a65c84cc5945466b9024 (diff) | |
download | connman-fe5392acf9111aed0f479a56d6953fbc7c6754da.tar.gz connman-fe5392acf9111aed0f479a56d6953fbc7c6754da.tar.bz2 connman-fe5392acf9111aed0f479a56d6953fbc7c6754da.zip |
Remove capability and Change from dbus to systemd for vpn service
Change-Id: I7ef5583cfc148b4835abec4bf57ad76369ed9b8e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Diffstat (limited to 'vpn')
-rwxr-xr-x | vpn/connman-vpn.service.in | 2 | ||||
-rwxr-xr-x | vpn/net.connman.vpn.service.in | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/vpn/connman-vpn.service.in b/vpn/connman-vpn.service.in index de65a70d..71abb570 100755 --- a/vpn/connman-vpn.service.in +++ b/vpn/connman-vpn.service.in @@ -8,6 +8,8 @@ Type=dbus BusName=net.connman.vpn ExecStart=@sbindir@/connman-vpnd -n StandardOutput=null +CapabilityBoundingSet=~CAP_MAC_ADMIN +CapabilityBoundingSet=~CAP_MAC_OVERRIDE [Install] WantedBy=multi-user.target diff --git a/vpn/net.connman.vpn.service.in b/vpn/net.connman.vpn.service.in index 94872013..8dcf2544 100755 --- a/vpn/net.connman.vpn.service.in +++ b/vpn/net.connman.vpn.service.in @@ -1,4 +1,5 @@ [D-BUS Service] Name=net.connman.vpn -Exec=@sbindir@/connman-vpnd -n +Exec=/bin/false User=root +SystemdService=connman-vpn.service |