2014-05-11 22:20:13 -07:00
|
|
|
[unix_http_server]
|
2014-10-12 23:23:55 -07:00
|
|
|
file=log/supervisor.sock ; path to your socket file
|
2014-05-11 22:20:13 -07:00
|
|
|
|
|
|
|
[supervisord]
|
2014-05-12 06:13:05 -07:00
|
|
|
logfile=log/supervisord.log ; supervisord log file
|
2014-05-11 22:20:13 -07:00
|
|
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
|
|
|
logfile_backups=10 ; number of backed up logfiles
|
|
|
|
loglevel=warn ; info, debug, warn, trace
|
2014-10-12 23:23:55 -07:00
|
|
|
pidfile=log/supervisord.pid ; pidfile location
|
2014-05-11 22:20:13 -07:00
|
|
|
nodaemon=false ; run supervisord as a daemon
|
|
|
|
minfds=1024 ; number of startup file descriptors
|
|
|
|
minprocs=200 ; number of process descriptors
|
|
|
|
user=root ; default user
|
2014-05-12 06:13:05 -07:00
|
|
|
childlogdir=log
|
2014-05-11 22:20:13 -07:00
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
2014-10-12 23:23:55 -07:00
|
|
|
serverurl=unix://log/supervisor.sock ; use a unix:// URL for a unix socket
|
2014-05-11 22:20:13 -07:00
|
|
|
|
|
|
|
[program:gogs]
|
2014-10-12 23:23:55 -07:00
|
|
|
command = gogs_start
|
2014-05-11 22:20:13 -07:00
|
|
|
autostart = true
|
2014-10-12 23:23:55 -07:00
|
|
|
stdout_logfile = log/supervisor-gogs-out.log
|
|
|
|
stderr_logfile = log/supervisor-gogs-err.log
|