|
|
@ -46,6 +46,10 @@ 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 |
|
|
|
sleep 3 |
|
|
|
sh /root/start-nginx.sh |
|
|
|
sleep 2 |
|
|
|
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf |
|
|
|
#ttyd -p 3787 bash & |
|
|
|
tail -f /dev/null |
|
|
|
# Start ssh server |
|
|
|