summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-12 22:42:00 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:57 +0100
commit1b079c90ed954cca65a7b07d5480e75d46217b85 (patch)
tree54fb77cc6dfaeac63062a46ac55135aa4b5fa413 /conf
parentcd2df61ce0d2564f01c8e013ba125fc01bcd9b1c (diff)
bug fixes and improvements
Change-Id: I2fc3de0a84e471e8e87f43170c20f8d6d0d05fdc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/afm-system-daemon.service.in3
-rw-r--r--conf/afm-user-daemon.service.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/conf/afm-system-daemon.service.in b/conf/afm-system-daemon.service.in
index 75a45f9..0c0d71c 100644
--- a/conf/afm-system-daemon.service.in
+++ b/conf/afm-system-daemon.service.in
@@ -4,7 +4,8 @@ Description=Application Framework Master, system side
[Service]
User=afm
Group=afm
-ExecStart=/usr/bin/afb-daemon --name=afm-system-daemon -no-httpd --no-ldpaths --binding=@CMAKE_INSTALL_LIBEXECDIR@/afm/afm-binding.so --ws-server=sd:afm-main
+SyslogIdentifier=afm-system-daemon
+ExecStart=/usr/bin/afb-daemon --name=afm-system-daemon --no-httpd --no-ldpaths --binding=@CMAKE_INSTALL_FULL_LIBEXECDIR@/afm/afm-binding.so --ws-server=sd:afm-main
Restart=on-failure
RestartSec=5
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_MAC_OVERRIDE
diff --git a/conf/afm-user-daemon.service.in b/conf/afm-user-daemon.service.in
index f536c82..11e479c 100644
--- a/conf/afm-user-daemon.service.in
+++ b/conf/afm-user-daemon.service.in
@@ -4,7 +4,7 @@ Description=Application Framework Master, User side
[Service]
Type=dbus
BusName=org.AGL.afm.user
-ExecStart=/usr/bin/afm-user-daemon --user-dbus=unix:path=%t/bus
+ExecStart=/usr/bin/afm-user-daemon --user-dbus=unix:path=%t/bus unix:/run/afm/apis/ws/afm-main
Environment=AFM_APP_INSTALL_DIR=%%r
EnvironmentFile=-@afm_confdir@/unit.env.d/*
Restart=on-failure