summaryrefslogtreecommitdiffstats
path: root/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service')
-rw-r--r--meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service b/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service
new file mode 100644
index 000000000..b8d34caa9
--- /dev/null
+++ b/meta-agl-html5-demo/recipes-demo/html5-homescreen/files/homescreen.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=AGL Homescreen
+Requires=WebAppMgr.service dbus.service
+After=WebAppMgr.service dbus.service
+
+[Service]
+Type=simple
+User=agl-driver
+EnvironmentFile=-/etc/default/WebAppMgr.env
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
+ExecStartPre=sleep 5
+ExecStart=/usr/bin/WebAppMgrCli --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/
+Restart=on-failure
+
+[Install]
+WantedBy=graphical.target