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:
parent
00243d4a5c
commit
1ef89e5ba2
1 changed files with 8 additions and 0 deletions
|
@ -115,3 +115,11 @@ sudo service supervisor restart
|
|||
|
||||
# Reconfigure sso
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue