aboutsummaryrefslogtreecommitdiffstats
path: root/conf/user/afm-user-daemon.service.in
diff options
context:
space:
mode:
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
+