You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.2 KiB

  1. [unix_http_server]
  2. file=/tmp/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=/tmp/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:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
  18. [program:gogs]
  19. command = /root/Developer/gopath/src/github.com/gogits/gogs/start.sh ; here must be the real url, not ~ or $GOROOT like
  20. autostart = true
  21. stdout_logfile = log/supervisor-gogs-stderr.log
  22. stderr_logfile = log/supervisor-gogs-error.log