Don't quit when supervisor crashes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adam Štrauch 2021-11-19 18:09:51 +01:00
parent 2bc8867eaf
commit f959f0f17d
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -146,4 +146,7 @@ if [ ! -e /srv/conf/supervisor.d/nginx.conf ]; then
su app -c "cp /opt/examples/nginx/supervisor.conf /srv/conf/supervisor.d/nginx.conf"
fi
su app -c "supervisord -n -c /etc/supervisor/supervisord.conf"
while /bin/true; do
su app -c "supervisord -n -c /etc/supervisor/supervisord.conf"
sleep 5
done