Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | [supervisord] |
| 2 | pidfile=/var/run/supervisord.pid |
| 3 | nodaemon=true |
| 4 | user=root |
| 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:postfix] |
| 15 | command=/opt/postfix.sh |
| 16 | stdout_logfile=/dev/stdout |
| 17 | stdout_logfile_maxbytes=0 |
| 18 | stderr_logfile=/dev/stderr |
| 19 | stderr_logfile_maxbytes=0 |
| 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 |