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