mirror of
https://github.com/bokysan/docker-postfix.git
synced 2024-09-20 14:56:10 +08:00
b90b336d04
We now include logrotate in the the basic image. This does -- up to a point -- reduce the "separation of concerns", but it simplifies image management considerably and removes an unneccessary dependency on a third-party container.
42 lines
919 B
Plaintext
42 lines
919 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 = /scripts/postfix.sh
|
|
autostart = true
|
|
autorestart = false
|
|
directory = /etc/postfix
|
|
startsecs = 0
|
|
|
|
[program:cron]
|
|
command = /scripts/cron.sh
|
|
autostart = true
|
|
autorestart = true
|
|
startsecs = 0
|
|
|
|
[program:opendkim]
|
|
command = /scripts/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
|