X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-wam%2Fwam%2Ffiles%2FWebAppMgr.service;h=0dfe971df31c6457529c874494d0e629fec6592f;hb=beea030e7b631e334830c2e0ae6c9592f47a448f;hp=0fa7dbe5b8cdba2a289ee613d72079d6d7185aac;hpb=dee3a47a4d12561f82747f1907081235abf691f8;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-wam/wam/files/WebAppMgr.service b/recipes-wam/wam/files/WebAppMgr.service index 0fa7dbe5b..0dfe971df 100644 --- a/recipes-wam/wam/files/WebAppMgr.service +++ b/recipes-wam/wam/files/WebAppMgr.service @@ -12,16 +12,18 @@ [Unit] Description="WebAppMgr is responsible for running web apps and manage their lifecycle" -After=homescreen.service launcher.service agl-compositor.service +After=agl-compositor.service Requires=agl-compositor.service Before=agl-session.target +BindTo=agl-compositor.service [Service] Type=simple UMask=0077 OOMScoreAdjust=-1000 EnvironmentFile=-/etc/default/WebAppMgr.env -ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam +ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam --agl-shell-appid=homescreen --disable-gpu-vsync --ignore-gpu-blocklist +ExecStop=pkill -U %U WebAppMgr Restart=on-failure RestartSec=50