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