supervisord.conf 675 B

1234567891011121314151617181920212223242526272829303132
  1. [supervisord]
  2. nodaemon=true
  3. user=root
  4. [program:syslog-ng]
  5. command=/usr/sbin/syslog-ng --foreground --no-caps
  6. stdout_logfile=/dev/stdout
  7. stdout_logfile_maxbytes=0
  8. stderr_logfile=/dev/stderr
  9. stderr_logfile_maxbytes=0
  10. autostart=true
  11. priority=1
  12. [program:cron]
  13. command=/usr/sbin/cron -f
  14. autorestart=true
  15. priority=2
  16. [program:bootstrap-sogo]
  17. command=/bootstrap-sogo.sh
  18. stdout_logfile=/dev/stdout
  19. stdout_logfile_maxbytes=0
  20. stderr_logfile=/dev/stderr
  21. stderr_logfile_maxbytes=0
  22. priority=3
  23. startretries=10
  24. autorestart=true
  25. stopwaitsecs=120
  26. [eventlistener:processes]
  27. command=/usr/local/sbin/stop-supervisor.sh
  28. events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL