2014-05-12 01:20:13 -04:00
|
|
|
[unix_http_server]
|
2014-10-13 02:23:55 -04:00
|
|
|
file=log/supervisor.sock ; path to your socket file
|
2014-05-12 01:20:13 -04:00
|
|
|
|
|
|
|
[supervisord]
|
2014-05-12 09:13:05 -04:00
|
|
|
logfile=log/supervisord.log ; supervisord log file
|
2014-05-12 01:20:13 -04: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-13 02:23:55 -04:00
|
|
|
pidfile=log/supervisord.pid ; pidfile location
|
2014-05-12 01:20:13 -04: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 09:13:05 -04:00
|
|
|
childlogdir=log
|
2014-05-12 01:20:13 -04:00
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
2014-10-13 02:23:55 -04:00
|
|
|
serverurl=unix://log/supervisor.sock ; use a unix:// URL for a unix socket
|
2014-05-12 01:20:13 -04:00
|
|
|
|
|
|
|
[program:gogs]
|
2014-10-13 02:23:55 -04:00
|
|
|
command = gogs_start
|
2014-05-12 01:20:13 -04:00
|
|
|
autostart = true
|
2014-10-13 02:23:55 -04:00
|
|
|
stdout_logfile = log/supervisor-gogs-out.log
|
|
|
|
stderr_logfile = log/supervisor-gogs-err.log
|