2015-09-17 07:21:08 +00:00
|
|
|
[unix_http_server]
|
|
|
|
file=/tmp/supervisor.sock ; path to your socket file
|
|
|
|
|
|
|
|
[supervisord]
|
2015-09-17 07:41:44 +00:00
|
|
|
logfile=/code/log/supervisord.log ; supervisord log file
|
2015-09-17 07:21:08 +00:00
|
|
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
|
|
|
logfile_backups=10 ; number of backed up logfiles
|
|
|
|
loglevel=info ; info, debug, warn, trace
|
2015-09-17 07:41:44 +00:00
|
|
|
pidfile=/code/log/supervisord.pid ; pidfile location
|
2015-09-17 08:07:53 +00:00
|
|
|
nodaemon=true ; run supervisord as a daemon
|
2015-09-17 07:21:08 +00:00
|
|
|
minfds=1024 ; number of startup file descriptors
|
|
|
|
minprocs=200 ; number of process descriptors
|
|
|
|
user=root ; default user
|
2015-09-17 07:41:44 +00:00
|
|
|
childlogdir=/code/log/ ; where child log files will live
|
2015-09-17 07:21:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
|
|
|
serverurl=unix:///tmp/supervisor.sock ; use unix:// schem for a unix sockets.
|
|
|
|
|
|
|
|
|
|
|
|
[include]
|
|
|
|
|
2015-09-17 07:41:44 +00:00
|
|
|
files=gunicorn.conf mq.conf
|