summaryrefslogtreecommitdiffstats
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.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service
index b142c4efe..4cc44242e 100644
--- a/recipes-demo/html5-homescreen/files/homescreen.service
+++ b/recipes-demo/html5-homescreen/files/homescreen.service
@@ -5,9 +5,11 @@ After=WebAppMgr.service dbus.service
[Service]
Type=simple
+User=agl-driver
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
ExecStartPre=sleep 5
ExecStart=/usr/bin/WebAppMgr --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/
Restart=on-failure
[Install]
-WantedBy=agl-session.target
+WantedBy=graphical.target