28 lines
605 B
Plaintext
28 lines
605 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
|
|
[program:syslog-ng]
|
|
command=/usr/sbin/syslog-ng --foreground --no-caps
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
priority=1
|
|
|
|
[program:bootstrap-sogo]
|
|
command=/bootstrap-sogo.sh
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
priority=2
|
|
startretries=10
|
|
autorestart=true
|
|
stopwaitsecs=120
|
|
|
|
[eventlistener:processes]
|
|
command=/usr/local/sbin/stop-supervisor.sh
|
|
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL
|