2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-30 22:05:14 +00:00

Add supervisor stop grace period (#1945)

This commit is contained in:
Casper
2021-05-06 19:04:24 +02:00
committed by GitHub
parent acf25acfda
commit ba37ed115d

View File

@@ -6,6 +6,7 @@
[program:mailserver] [program:mailserver]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=true autostart=true
autorestart=false autorestart=false
stdout_logfile=/dev/stdout stdout_logfile=/dev/stdout
@@ -16,6 +17,7 @@ command=/usr/local/bin/start-mailserver.sh
[program:cron] [program:cron]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -24,6 +26,7 @@ command=/usr/sbin/cron -f
[program:rsyslog] [program:rsyslog]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -32,6 +35,7 @@ command=/usr/sbin/rsyslogd -n
[program:fail2ban] [program:fail2ban]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -40,6 +44,7 @@ command=/usr/local/bin/fail2ban-wrapper.sh
[program:opendkim] [program:opendkim]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -48,6 +53,7 @@ command=/usr/sbin/opendkim -f
[program:opendmarc] [program:opendmarc]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -56,6 +62,7 @@ command=/usr/sbin/opendmarc -f -p "inet:8893@localhost" -P /var/run/opendmarc/op
[program:dovecot] [program:dovecot]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -64,6 +71,7 @@ command=/usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
[program:clamav] [program:clamav]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -72,6 +80,7 @@ command=/usr/sbin/clamd -c /etc/clamav/clamd.conf
[program:postgrey] [program:postgrey]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/mail/mail.log stdout_logfile=/var/log/mail/mail.log
@@ -80,6 +89,7 @@ command=/usr/sbin/postgrey --inet=127.0.0.1:10023 --syslog-facility=mail --delay
[program:amavis] [program:amavis]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -88,6 +98,7 @@ command=/usr/sbin/amavisd-new foreground
[program:fetchmail] [program:fetchmail]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -97,6 +108,7 @@ command=/usr/bin/fetchmail -f /etc/fetchmailrc -v --nodetach --daemon %(ENV_FETC
[program:postfix] [program:postfix]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -105,6 +117,7 @@ command=/usr/local/bin/postfix-wrapper.sh
[program:changedetector] [program:changedetector]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=true autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log
@@ -113,6 +126,7 @@ command=/usr/local/bin/check-for-changes.sh
[program:postsrsd] [program:postsrsd]
startsecs=0 startsecs=0
stopwaitsecs=55
autostart=false autostart=false
autorestart=unexpected autorestart=unexpected
stdout_logfile=/var/log/supervisor/%(program_name)s.log stdout_logfile=/var/log/supervisor/%(program_name)s.log