mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fix a problem in the reload function of spamassassin cron.daily script.
(see issue #137 on github).
This commit is contained in:
parent
c311ef0b5a
commit
e25bbb965c
|
@ -264,6 +264,8 @@ test -e /tmp/docker-mailserver/spamassassin-rules.cf && cp /tmp/docker-mailserve
|
||||||
|
|
||||||
# Disable logrotate config for fail2ban if not enabled
|
# Disable logrotate config for fail2ban if not enabled
|
||||||
test -z "$ENABLE_FAIL2BAN"&& rm -f /etc/logrotate.d/fail2ban
|
test -z "$ENABLE_FAIL2BAN"&& rm -f /etc/logrotate.d/fail2ban
|
||||||
|
# Fix cron.daily for spamassassin
|
||||||
|
sed -i -e 's/invoke-rc.d spamassassin reload/\/etc\/init\.d\/spamassassin reload/g' /etc/cron.daily/spamassassin
|
||||||
|
|
||||||
echo "Starting daemons"
|
echo "Starting daemons"
|
||||||
cron
|
cron
|
||||||
|
|
Loading…
Reference in a new issue