summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/afm-system-daemon.service2
-rw-r--r--conf/afm-user-daemon.service1
2 files changed, 1 insertions, 2 deletions
diff --git a/conf/afm-system-daemon.service b/conf/afm-system-daemon.service
index b14f417..77e1f1b 100644
--- a/conf/afm-system-daemon.service
+++ b/conf/afm-system-daemon.service
@@ -9,8 +9,6 @@ ExecStart=/usr/bin/afm-system-daemon
Restart=on-failure
RestartSec=5
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_MAC_OVERRIDE
-SecureBits=keep-caps
-Capabilities=cap_dac_override,cap_mac_override=i
[Install]
WantedBy=multi-user.target
diff --git a/conf/afm-user-daemon.service b/conf/afm-user-daemon.service
index d418e8c..c77ef6e 100644
--- a/conf/afm-user-daemon.service
+++ b/conf/afm-user-daemon.service
@@ -5,6 +5,7 @@ Description=Application Framework Master, User side
Type=dbus
BusName=org.AGL.afm.user
ExecStart=/usr/bin/afm-user-daemon
+CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_MAC_ADMIN CAP_SETGID
Environment=LD_PRELOAD=/usr/lib/libEGL.so
Restart=on-failure
RestartSec=5