1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Fix 502 errors right after installation

This commit is contained in:
Jocelyn Delalande 2017-06-18 17:13:39 +02:00
parent 00243d4a5c
commit 1ef89e5ba2

View file

@ -115,3 +115,11 @@ sudo service supervisor restart
# Reconfigure sso # Reconfigure sso
sudo yunohost app ssowatconf sudo yunohost app ssowatconf
# Wait that gunicorn is ready to consider the install finished, that is to
# avoid HTTP 502 right after installation
for i in `seq 1 120`
do
test -S /tmp/budget.gunicorn.sock && break
sleep 1
done