|
@ -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) |
|
|
logfile_backups=10 ; (num of main logfile rotation backups;default 10) |
|
|
loglevel=info ; (log level;default info; others: debug,warn,trace) |
|
|
loglevel=info ; (log level;default info; others: debug,warn,trace) |
|
|
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid) |
|
|
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) |
|
|
minfds=1024 ; (min. avail startup file descriptors;default 1024) |
|
|
minprocs=200 ; (min. avail process descriptors;default 200) |
|
|
minprocs=200 ; (min. avail process descriptors;default 200) |
|
|
user=root ; |
|
|
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 |
|
|
files = /etc/supervisor/conf.d/*.conf |
|
|
|
|
|
|
|
|
[program:nginx] |
|
|
[program:nginx] |
|
|
command=/usr/sbin/nginx |
|
|
command=/usr/sbin/nginx -g 'daemon off;' |
|
|
numprocs=1 |
|
|
numprocs=1 |
|
|
autostart=true |
|
|
autostart=true |
|
|
autorestart=true |
|
|
autorestart=true |
|
|