Fix restart ms-update-bad-emails

This commit is contained in:
Shawn Iverson 2018-01-27 09:15:36 -05:00
parent 98bffbc4c4
commit aa680f5fec

View file

@ -37,7 +37,7 @@ my $emailscurrent = '/var/cache/ScamNailer/';
# Set this next value to '' if ou are not using MailScanner. # Set this next value to '' if ou are not using MailScanner.
# Or else change it to any command you need to run after updating the # Or else change it to any command you need to run after updating the
# SpamAssassin rules, such as '/sbin/service spamd restart'. # SpamAssassin rules, such as '/sbin/service spamd restart'.
my $mailscanner_restart = '/usr/lib/MailScanner/init/ms-init restart'; my $mailscanner_restart = 'if [ -d /run/systemd/system ]; then; systemctl -q is-active mailscanner && systemctl restart mailscanner; else; /usr/lib/MailScanner/init/ms-init restart; fi';
# The SpamAssassin score to assign to the final rule that fires if any of # The SpamAssassin score to assign to the final rule that fires if any of
# the addresses hit. Multiple hits don't increase the score. # the addresses hit. Multiple hits don't increase the score.