summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-03-23 12:58:49 +0100
committerMarius Vlad <marius.vlad@collabora.com>2022-03-24 19:22:01 +0200
commit278b0e2cc34b5e243b9e4a9e2a7bd50b5679345f (patch)
tree88e572c3b11195a71d88cc1bcdc51bebcb03a94d
parenta6b07f9f7fae7cc849d7e28eb6036fdd054fbfca (diff)
html5-homescreen: increase wait for attempting to launch homescreen
Reduce chances to fail initialization of HTML5-based UI on boot, because of trying to launch homescreen while WAM is still not ready to create applications. This is a workaround. The right fix will be making WAM actually wait for processing IPC messages while it is not ready to launch first application, and making homescreen wait for the initialization of host service. Bug-AGL: SPEC-4289 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id46f87b6ac2d49b0a15d5537b8b70d4ac6e62ef5
-rw-r--r--recipes-demo/html5-homescreen/files/homescreen.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-demo/html5-homescreen/files/homescreen.service b/recipes-demo/html5-homescreen/files/homescreen.service
index 20ed2ee1..80bc44ee 100644
--- a/recipes-demo/html5-homescreen/files/homescreen.service
+++ b/recipes-demo/html5-homescreen/files/homescreen.service
@@ -7,7 +7,7 @@ After=WebAppMgr.service dbus.service
Type=simple
Environment=AFM_ID=homescreen
Environment=AFM_APP_INSTALL_DIR=/usr/lib/wam_apps/html5-homescreen/
-ExecStartPre=sleep 1
+ExecStartPre=sleep 5
ExecStart=/usr/bin/WebAppMgr
Restart=on-failure