X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhtml5-homescreen%2Ffiles%2Fhomescreen.service;h=4cc44242e22a943784a0c9d6dbc735de86d4e8b6;hb=2507e4a69862808a6331b0e4c665b694f49a49b9;hp=b142c4efe97352bfec70c898743067f795787c2e;hpb=cce52591f8e00ae41ae380a597d620b0856d004d;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..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