Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps 89/22589/1
authorJacobo Aragunde Pérez <jaragunde@igalia.com>
Wed, 2 Oct 2019 20:44:54 +0000 (22:44 +0200)
committerJacobo Aragunde Pérez <jaragunde@igalia.com>
Tue, 8 Oct 2019 10:39:51 +0000 (10:39 +0000)
commited18e8a146c12b2f82784a57735512531dfbe4bf
tree4ceae35d045b998cb02bbeca281ee992b655674f
parent72496e4727a7c83a810f0ab8b7f026758831aa85
Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps

This envvar will make the application launcher wait for the WebAppMgr
service to be fully running before attempting to launch the app.
Otherwise, launcher would resort to running the app in standalone
mode, which would conflict with the WebAppMgr service when it's
finally running.

It will be useful for webapps that are auto-started, like the future
homescreen or the html5-launcher.

Bug-AGL: SPEC-2793

Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Change-Id: I97f927c856b0dd2643f8b7492dff06b2c459761d
(cherry picked from commit 2435856512bfae534fe9ac1460ef686fb7651e1d)
conf/unit/service.inc