config: refactoring user service
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 21 Jan 2016 16:54:45 +0000 (17:54 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 21 Jan 2016 16:54:45 +0000 (17:54 +0100)
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>
conf/afm-user-daemon.service

index a9d3f8c..7721764 100644 (file)
@@ -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