Browse Source

debug 3

master
zeus 3 years ago
parent
commit
0c4da22373
  1. 2
      src-local/myconfig/sec_bootstrap
  2. 2
      src-local/myconfig/supervisord.conf

2
src-local/myconfig/sec_bootstrap

@ -50,7 +50,7 @@ case $ROLE in
sh /root/start-nginx.sh
sleep 2
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
nginx -g 'daemon off'
nginx -g "daemon off;"
#ttyd -p 3787 bash &
tail -f /dev/null
# Start ssh server

2
src-local/myconfig/supervisord.conf

@ -22,7 +22,7 @@ serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
files = /etc/supervisor/conf.d/*.conf
[program:nginx]
command=/usr/sbin/nginx -g 'daemon off;'
command=/usr/sbin/nginx -g "daemon off;"
numprocs=1
autostart=true
autorestart=true

Loading…
Cancel
Save