[indico-web] Use external URL for checking if Indico is available



commit 3c5699b6e3c07704230ec72d0853bdc4ebe1eccc
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Mar 30 09:04:18 2021 +0200

    Use external URL for checking if Indico is available

 worker/run_celery.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/worker/run_celery.sh b/worker/run_celery.sh
index 734ddcd..b82bfa8 100644
--- a/worker/run_celery.sh
+++ b/worker/run_celery.sh
@@ -8,7 +8,7 @@ for path in /opt/indico/data/{archive,custom}; do
 done
 
 echo 'Waiting for indico-web to be online...'
-while [[ "$(curl -L --max-time 10 -s -o /dev/null -w ''%{http_code}'' 'http://indico-web:59999')" != "200" 
]]; do
+while [[ "$(curl -L --max-time 10 -s -o /dev/null -w ''%{http_code}'' 'https://events.gnome.org')" != "200" 
]]; do
     sleep 10;
     echo 'Waiting...'
 done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]