X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhtml5-homescreen%2Ffiles%2Fhomescreen.service;h=b8d34caa99fe15f20b6f7f6aea52fd0977c82651;hb=7069907215c5eaeacc874720b1198d3249cc4b57;hp=b142c4efe97352bfec70c898743067f795787c2e;hpb=f3e2bfbfb64222d1d80ac12f3e615ef5e392a842;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service index b142c4efe..b8d34caa9 100644 --- a/recipes-demo/html5-homescreen/files/homescreen.service +++ b/recipes-demo/html5-homescreen/files/homescreen.service @@ -5,9 +5,12 @@ 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/WebAppMgr --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/ +ExecStart=/usr/bin/WebAppMgrCli --appid=homescreen --app-install-dir=/usr/lib/wam_apps/html5-homescreen/ Restart=on-failure [Install] -WantedBy=agl-session.target +WantedBy=graphical.target