diff --git a/start.sh b/start.sh index 3354ee0..6fdee74 100755 --- a/start.sh +++ b/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" 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