2017-03-02 18:23:23 +08:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
2017-11-05 19:19:18 +08:00
|
|
|
user=root
|
2018-10-26 04:35:07 +08:00
|
|
|
pidfile=/var/run/supervisord.pid
|
2017-03-02 18:23:23 +08:00
|
|
|
|
|
|
|
[program:syslog-ng]
|
|
|
|
command=/usr/sbin/syslog-ng --foreground --no-caps
|
2017-07-11 23:09:31 +08:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
2017-03-02 18:23:23 +08:00
|
|
|
autostart=true
|
|
|
|
|
|
|
|
[program:dovecot]
|
2019-07-29 03:34:42 +08:00
|
|
|
command=/usr/sbin/dovecot -F
|
2017-03-02 18:23:23 +08:00
|
|
|
autorestart=true
|
|
|
|
|
|
|
|
[program:cron]
|
|
|
|
command=/usr/sbin/cron -f
|
|
|
|
autorestart=true
|
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
|