supervisord.conf 491 B

1234567891011121314151617181920
  1. [supervisord]
  2. nodaemon=true
  3. user=root
  4. pidfile=/var/run/supervisord.pid
  5. [program:syslog-ng]
  6. command=/usr/sbin/syslog-ng --foreground --no-caps
  7. stdout_logfile=/dev/stdout
  8. stdout_logfile_maxbytes=0
  9. stderr_logfile=/dev/stderr
  10. stderr_logfile_maxbytes=0
  11. autostart=true
  12. [program:dovecot]
  13. command=/usr/sbin/dovecot -F
  14. autorestart=true
  15. [eventlistener:processes]
  16. command=/usr/local/sbin/stop-supervisor.sh
  17. events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL