aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-10-20 15:54:25 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-10-20 16:00:06 +0200
commitc31038db1cff938d7fa1f12f757c1c57ab51c0bd (patch)
treec1eb80edafbfebed774cac869fe1403369e12806 /conf
parent62a07cae0e40181daafdb0204c275af66d0f6d64 (diff)
afm-user-daemon: accept bus address with arguments
It might be necessary to pass the address as an argument because library systemd uses secure_getenv to retrieves the default addresses and secure_getenv might return NULL in some cases. Change-Id: Iea14a0494f39875f0a501e53a2711b0df96bab3c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/afm-user-daemon.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/conf/afm-user-daemon.service b/conf/afm-user-daemon.service
index fef1556..601ec87 100644
--- a/conf/afm-user-daemon.service
+++ b/conf/afm-user-daemon.service
@@ -4,8 +4,7 @@ Description=Application Framework Master, User side
[Service]
Type=dbus
BusName=org.AGL.afm.user
-ExecStart=/usr/bin/afm-user-daemon
-CapabilityBoundingSet=CAP_MAC_OVERRIDE CAP_MAC_ADMIN CAP_SETGID
+ExecStart=/usr/bin/afm-user-daemon --user-dbus=unix:path=%t/bus
Environment=LD_PRELOAD=/usr/lib/libEGL.so
Restart=on-failure
RestartSec=5