aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-03-23 12:58:49 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-03-24 15:22:59 +0000
commitb5b88f55d70c87187b544b6a9c830f91a165e476 (patch)
tree6a19261156a45bc905f5f02fb91261a884cb80f3
parent029e4538f8417e1316166760b700a8fe2368c76d (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> 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 20ed2ee13..80bc44ee6 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