Fix a problem in the reload function of spamassassin cron.daily script.

(see issue #137 on github).
This commit is contained in:
angus 2016-04-20 22:37:06 +02:00
parent c311ef0b5a
commit e25bbb965c

View file

@ -264,6 +264,8 @@ test -e /tmp/docker-mailserver/spamassassin-rules.cf && cp /tmp/docker-mailserve
# Disable logrotate config for fail2ban if not enabled
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"
cron