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