summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-01-21 17:54:45 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-01-21 17:54:45 +0100
commitcabc5f0993e89732295c5a23f252cdecaa1a1aed (patch)
treed909bd79f59e30ef9d05f23f9b7df2cc6080f488
parent69a81bcc191be19e3bab2d5f0c8d3b1337a21ca0 (diff)
config: refactoring user service
This improves the user service definition by setting its type to dbus. It removes the group feature. Is it temporary? Don't know it currently. Change-Id: I9eb5751813d5d7e699c5502d6d6f810cea5f8473 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--conf/afm-user-daemon.service9
1 files changed, 4 insertions, 5 deletions
diff --git a/conf/afm-user-daemon.service b/conf/afm-user-daemon.service
index a9d3f8c..7721764 100644
--- a/conf/afm-user-daemon.service
+++ b/conf/afm-user-daemon.service
@@ -2,12 +2,11 @@
Description=Application Framework Master, User side
[Service]
+Type=dbus
+BusName=org.AGL.afm.user
+ExecStart=/usr/bin/afm-user-daemon
Environment=LD_PRELOAD=/usr/lib/libEGL.so
-BusName=org.AGL.afm.user
-Group=afm
-ExecStart=/usr/bin/afm-user-daemon
-Restart=on-failure
-RestartSec=5
+
[Install]
WantedBy=default.target