mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
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:
commit
7579be4e61
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue