Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 1 | [supervisord] |
| 2 | nodaemon=true |
| 3 | user=root |
| 4 | |
| 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 | priority=1 |
| 13 | |
| 14 | [program:cron] |
| 15 | command=/usr/sbin/cron -f |
| 16 | autorestart=true |
| 17 | priority=2 |
| 18 | |
| 19 | [program:bootstrap-sogo] |
| 20 | command=/bootstrap-sogo.sh |
| 21 | stdout_logfile=/dev/stdout |
| 22 | stdout_logfile_maxbytes=0 |
| 23 | stderr_logfile=/dev/stderr |
| 24 | stderr_logfile_maxbytes=0 |
| 25 | priority=3 |
| 26 | startretries=10 |
| 27 | autorestart=true |
| 28 | stopwaitsecs=120 |
| 29 | |
| 30 | [eventlistener:processes] |
| 31 | command=/usr/local/sbin/stop-supervisor.sh |
| 32 | events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL |