supervisord.conf 605 B

12345678910111213141516171819202122232425262728
  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:bootstrap-sogo]
  13. command=/bootstrap-sogo.sh
  14. stdout_logfile=/dev/stdout
  15. stdout_logfile_maxbytes=0
  16. stderr_logfile=/dev/stderr
  17. stderr_logfile_maxbytes=0
  18. priority=2
  19. startretries=10
  20. autorestart=true
  21. stopwaitsecs=120
  22. [eventlistener:processes]
  23. command=/usr/local/sbin/stop-supervisor.sh
  24. events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL