You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-09 23:07:35 +02:00
Merge remote-tracking branch 'origin/logrotate_fix'
This commit is contained in:
@ -244,6 +244,8 @@ sed -i "/^findtime *=/c\findtime = 10800" /etc/fail2ban/jail.conf
|
||||
# avoid warning on startup
|
||||
echo "ignoreregex =" >> /etc/fail2ban/filter.d/postfix-sasl.conf
|
||||
|
||||
# continue to write the log information in the newly created file after rotating the old log file
|
||||
sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf
|
||||
|
||||
echo "Starting daemons"
|
||||
cron
|
||||
|
Reference in New Issue
Block a user