Merge pull request #144 from 00angus/v2-fix_cron

Fix a problem in the reload function of spamassassin cron.daily script.
This commit is contained in:
Thomas VIAL 2016-04-20 22:52:31 +02:00
commit 7579be4e61

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