blob: 134a6c6d19b08a478c6b4517e4524be9ebbd3aba [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001[supervisord]
2pidfile=/var/run/supervisord.pid
3nodaemon=true
4user=root
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:postfix]
15command=/opt/postfix.sh
16stdout_logfile=/dev/stdout
17stdout_logfile_maxbytes=0
18stderr_logfile=/dev/stderr
19stderr_logfile_maxbytes=0
20autorestart=true
21
22[eventlistener:processes]
23command=/usr/local/sbin/stop-supervisor.sh
24events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL