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 sh /root/start-nginx.sh
sleep 2 sleep 2
/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
nginx -g 'daemon off' nginx -g "daemon off;"
#ttyd -p 3787 bash & #ttyd -p 3787 bash &
tail -f /dev/null tail -f /dev/null
# Start ssh server # 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 files = /etc/supervisor/conf.d/*.conf
[program:nginx] [program:nginx]
command=/usr/sbin/nginx -g 'daemon off;' command=/usr/sbin/nginx -g "daemon off;"
numprocs=1 numprocs=1
autostart=true autostart=true
autorestart=true autorestart=true

Loading…
Cancel
Save