summaryrefslogtreecommitdiffstats
path: root/recipes-wam/wam/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-wam/wam/files')
-rw-r--r--recipes-wam/wam/files/WebAppMgr.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-wam/wam/files/WebAppMgr.service b/recipes-wam/wam/files/WebAppMgr.service
index 0dfe971df..ca9a47811 100644
--- a/recipes-wam/wam/files/WebAppMgr.service
+++ b/recipes-wam/wam/files/WebAppMgr.service
@@ -14,7 +14,7 @@
Description="WebAppMgr is responsible for running web apps and manage their lifecycle"
After=agl-compositor.service
Requires=agl-compositor.service
-Before=agl-session.target
+Before=graphical.target
BindTo=agl-compositor.service
[Service]
@@ -22,10 +22,11 @@ Type=simple
UMask=0077
OOMScoreAdjust=-1000
EnvironmentFile=-/etc/default/WebAppMgr.env
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
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
[Install]
-WantedBy=agl-session.target
+WantedBy=graphical.target