summaryrefslogtreecommitdiffstats
path: root/recipes-demo/html5-launcher/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/html5-launcher/files')
-rw-r--r--recipes-demo/html5-launcher/files/launcher.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-demo/html5-launcher/files/launcher.service b/recipes-demo/html5-launcher/files/launcher.service
new file mode 100644
index 000000000..67dcf5e1c
--- /dev/null
+++ b/recipes-demo/html5-launcher/files/launcher.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=AGL Launcher
+Requires=WebAppMgr.service dbus.service
+After=WebAppMgr.service dbus.service
+
+[Service]
+Type=simple
+Environment=AFM_ID=launcher
+Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-launcher/
+ExecStartPre=sleep 1
+ExecStart=/usr/bin/WebAppMgr
+Restart=on-failure
+
+[Install]
+WantedBy=agl-session.target