|
|
@ -45,11 +45,13 @@ case $ROLE in |
|
|
|
|
|
|
|
# Auto update default host file in background and dumb all output |
|
|
|
auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 & |
|
|
|
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf |
|
|
|
#/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf |
|
|
|
nginx -g "daemon off;" |
|
|
|
sleep 3 |
|
|
|
sh /root/start-nginx.sh |
|
|
|
nginx -g "daemon off;" |
|
|
|
#sh /root/start-nginx.sh |
|
|
|
sleep 2 |
|
|
|
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf |
|
|
|
#/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf |
|
|
|
nginx -g "daemon off;" |
|
|
|
#ttyd -p 3787 bash & |
|
|
|
tail -f /dev/null |
|
|
|