docker-postfix/configs/supervisord.conf
Bojan Čekrlić 3f6d1330bb Simplify configuration
Postfix has an option to run in foreground. Use this feature to
reduce the complexity of supervisord.conf.
2020-08-15 23:52:22 +02:00

36 lines
817 B
Plaintext

[supervisord]
user = root
nodaemon = true
logfile = /dev/null
logfile_maxbytes= 0
[program:rsyslog]
command = rsyslogd -n
autostart = true
autorestart = true
startsecs = 2
stopwaitsecs = 2
stdout_logfile = /dev/stdout
stderr_logfile = /dev/stderr
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0
[program:postfix]
command = /usr/sbin/postfix -c /etc/postfix start-fg
autostart = true
autorestart = false
directory = /etc/postfix
startsecs = 0
[program:opendkim]
command = /opendkim.sh
user = opendkim
autostart = true
autorestart = true
startsecs = 5
stopwaitsecs = 5
stdout_logfile = /dev/stdout
stderr_logfile = /dev/stderr
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0