supervisord.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. [unix_http_server]
  2. file=/dev/shm/supervisor.sock ; (the path to the socket file)
  3. chmod=0700 ; sockef file mode (default 0700)
  4. [supervisord]
  5. nodaemon = true
  6. stdout_logfile = AUTO
  7. logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
  8. pidfile=/app/tmp/pids/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
  9. childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
  10. ; the below section must remain in the config file for RPC
  11. ; (supervisorctl/web interface) to work, additional interfaces may be
  12. ; added by defining them in separate rpcinterface: sections
  13. [rpcinterface:supervisor]
  14. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  15. [supervisorctl]
  16. serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
  17. [eventlistener:stdout]
  18. command = supervisor_stdout
  19. buffer_size = 100
  20. events = PROCESS_LOG
  21. result_handler = supervisor_stdout:event_handler
  22. ; The [include] section can just contain the "files" setting. This
  23. ; setting can list multiple files (separated by whitespace or
  24. ; newlines). It can also contain wildcards. The filenames are
  25. ; interpreted as relative to this file. Included files *cannot*
  26. ; include files themselves.
  27. [include]
  28. files = /etc/supervisor/conf.d/*.conf