mailcow/data/Dockerfiles/postfix/supervisord.conf

25 lines
573 B
Plaintext
Raw Permalink Normal View History

2017-03-02 18:23:23 +08:00
[supervisord]
pidfile=/var/run/supervisord.pid
2017-03-02 18:23:23 +08:00
nodaemon=true
2017-10-05 05:15:26 +08:00
user=root
2017-03-02 18:23:23 +08:00
[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
2017-03-02 18:23:23 +08:00
autostart=true
[program:postfix]
command=/opt/postfix.sh
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
2017-03-02 18:23:23 +08:00
autorestart=true
[eventlistener:processes]
command=/usr/local/sbin/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL