From 2953328cd2d21d10b9a5a2123cbe2e7266ab3e46 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 12 Feb 2022 13:37:59 +0100 Subject: [PATCH] jisti install : ajout check --- podman-jitsi/10_install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index e3d9f18..ec61959 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -47,7 +47,10 @@ echo "ENABLE_P2P=false" >> .env export listen_if export listen_port -podman-compose up -d && podman pod stop ${pod_name} && echo Pod built and stopped. +podman-compose up -d && +# Wait for web to be up +( podman logs --tail=1 -f podman-jitsi_web_1 2>&1 & ) | grep -q '^\[services.d\] done.$' && +podman pod stop ${pod_name} && echo Pod built and stopped. # cleanup shred -u .env .env.bak env.example gen-passwords.sh docker-compose.yml