Browse Source

debug 3

master
zeus 3 years ago
parent
commit
0d838522b3
  1. 4
      src-local/myconfig/supervisord.conf

4
src-local/myconfig/supervisord.conf

@ -7,7 +7,7 @@ logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=false ; (start in foreground if true;default false)
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
user=root ;
@ -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
command=/usr/sbin/nginx -g 'daemon off;'
numprocs=1
autostart=true
autorestart=true

Loading…
Cancel
Save