summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-11-16 11:29:49 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-11-16 11:29:49 +0100
commit2bf2954ba45aca2615a95eee698881f2c93e81b4 (patch)
tree68b4ff3555de814290686bd0cbb1ce79cd1c5e7f
parentcd4ba256dd488e6dc4ebffdaa6dfcfe107c35908 (diff)
add variable AFM_APP_INSTALL_DIR to environment
Change-Id: I1558ed87124750a87a4bf0359d9fb974617a8c42 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--conf/afm-user-daemon.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/afm-user-daemon.service b/conf/afm-user-daemon.service
index 601ec87..6b5c1d8 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 --user-dbus=unix:path=%t/bus
+Environment=AFM_APP_INSTALL_DIR=%%r
Environment=LD_PRELOAD=/usr/lib/libEGL.so
Restart=on-failure
RestartSec=5