33 lines
675 B
Plaintext
33 lines
675 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:cron]
|
|
command=/usr/sbin/cron -f
|
|
autorestart=true
|
|
priority=2
|
|
|
|
[program:bootstrap-sogo]
|
|
command=/bootstrap-sogo.sh
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
priority=3
|
|
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
|