2016-12-18 19:52:32 +08:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
2017-10-04 19:04:35 +08:00
|
|
|
user=root
|
2016-12-18 19:52:32 +08:00
|
|
|
|
2016-12-23 19:13:21 +08:00
|
|
|
[program:syslog-ng]
|
|
|
|
command=/usr/sbin/syslog-ng --foreground --no-caps
|
2017-07-11 23:08:06 +08:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2016-12-23 19:13:21 +08:00
|
|
|
autostart=true
|
2017-06-14 05:38:47 +08:00
|
|
|
priority=1
|
2016-12-18 19:52:32 +08:00
|
|
|
|
2017-06-14 05:38:47 +08:00
|
|
|
[program:cron]
|
|
|
|
command=/usr/sbin/cron -f
|
|
|
|
autorestart=true
|
|
|
|
priority=2
|
|
|
|
|
2017-07-25 05:25:04 +08:00
|
|
|
[program:bootstrap-sogo]
|
|
|
|
command=/bootstrap-sogo.sh
|
2017-07-11 23:08:06 +08:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2017-06-14 05:38:47 +08:00
|
|
|
priority=3
|
2017-07-25 04:53:23 +08:00
|
|
|
startretries=10
|
2017-06-14 05:38:47 +08:00
|
|
|
autorestart=true
|
2017-07-25 05:25:04 +08:00
|
|
|
stopwaitsecs=120
|
2018-10-26 04:35:07 +08:00
|
|
|
|
|
|
|
[eventlistener:processes]
|
|
|
|
command=/usr/local/sbin/stop-supervisor.sh
|
|
|
|
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL
|