Don't quit when supervisor crashes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
2bc8867eaf
commit
f959f0f17d
3
start.sh
3
start.sh
@ -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"
|
su app -c "cp /opt/examples/nginx/supervisor.conf /srv/conf/supervisor.d/nginx.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
while /bin/true; do
|
||||||
su app -c "supervisord -n -c /etc/supervisor/supervisord.conf"
|
su app -c "supervisord -n -c /etc/supervisor/supervisord.conf"
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user