aboutsummaryrefslogtreecommitdiffstats
path: root/conf/user/afm-user-daemon.service.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-23 15:44:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commit7998a472352c0272a90c66ab45c4c2758cd6040a (patch)
treede3fb484fa2bca0850354f611551b049083d1420 /conf/user/afm-user-daemon.service.in
parent633ebe33015554a14b773053188e2faba0faff04 (diff)
Rework on systemd start of user sessions
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/user/afm-user-daemon.service.in')
-rw-r--r--conf/user/afm-user-daemon.service.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/conf/user/afm-user-daemon.service.in b/conf/user/afm-user-daemon.service.in
new file mode 100644
index 0000000..11e479c
--- /dev/null
+++ b/conf/user/afm-user-daemon.service.in
@@ -0,0 +1,16 @@
+[Unit]
+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 unix:/run/afm/apis/ws/afm-main
+Environment=AFM_APP_INSTALL_DIR=%%r
+EnvironmentFile=-@afm_confdir@/unit.env.d/*
+Restart=on-failure
+RestartSec=5
+
+
+[Install]
+WantedBy=default.target
+