supervisord.conf 1.1 KB

123456789101112131415161718192021222324252627
  1. [unix_http_server]
  2. file=log/supervisor.sock ; path to your socket file
  3. [supervisord]
  4. logfile=log/supervisord.log ; supervisord log file
  5. logfile_maxbytes=50MB ; maximum size of logfile before rotation
  6. logfile_backups=10 ; number of backed up logfiles
  7. loglevel=warn ; info, debug, warn, trace
  8. pidfile=log/supervisord.pid ; pidfile location
  9. nodaemon=false ; run supervisord as a daemon
  10. minfds=1024 ; number of startup file descriptors
  11. minprocs=200 ; number of process descriptors
  12. user=root ; default user
  13. childlogdir=log
  14. [rpcinterface:supervisor]
  15. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  16. [supervisorctl]
  17. serverurl=unix://log/supervisor.sock ; use a unix:// URL for a unix socket
  18. [program:gogs]
  19. command = gogs_start
  20. autostart = true
  21. stdout_logfile = log/supervisor-gogs-out.log
  22. stderr_logfile = log/supervisor-gogs-err.log