Add back HTML5 launcher to HTML5 demo
[AGL/meta-agl-demo.git] / recipes-wam / wam / files / WebAppMgr.service
1 # @@@LICENSE
2 #
3 # Copyright (c) 2017-2018 LG Electronics, Inc.
4 #
5 # Confidential computer software. Valid license from LG required for
6 # possession, use or copying. Consistent with FAR 12.211 and 12.212,
7 # Commercial Computer Software, Computer Software Documentation, and
8 # Technical Data for Commercial Items are licensed to the U.S. Government
9 # under vendor's standard commercial license.
10 #
11 # LICENSE@@@
12
13 [Unit]
14 Description="WebAppMgr is responsible for running web apps and manage their lifecycle"
15 After=agl-compositor.service
16 Requires=agl-compositor.service
17 Before=agl-session.target
18
19 [Service]
20 Type=simple
21 UMask=0077
22 OOMScoreAdjust=-1000
23 EnvironmentFile=-/etc/default/WebAppMgr.env
24 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
25 Restart=on-failure
26 RestartSec=50
27
28 [Install]
29 WantedBy=agl-session.target