Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | [supervisord]
|
| 2 | nodaemon=true
|
| 3 | user=root
|
| 4 | pidfile=/var/run/supervisord.pid
|
| 5 |
|
| 6 | [program:syslog-ng]
|
| 7 | command=/usr/sbin/syslog-ng --foreground --no-caps
|
| 8 | stdout_logfile=/dev/stdout
|
| 9 | stdout_logfile_maxbytes=0
|
| 10 | stderr_logfile=/dev/stderr
|
| 11 | stderr_logfile_maxbytes=0
|
| 12 | autostart=true
|
| 13 |
|
| 14 | [program:dovecot]
|
| 15 | command=/usr/sbin/dovecot -F
|
| 16 | autorestart=true
|
| 17 |
|
| 18 | [program:cron]
|
| 19 | command=/usr/sbin/cron -f
|
| 20 | autorestart=true
|
| 21 |
|
| 22 | [eventlistener:processes]
|
| 23 | command=/usr/local/sbin/stop-supervisor.sh
|
| 24 | events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL
|