mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 15:26:08 +08:00
Fix restart ms-update-bad-emails
This commit is contained in:
parent
98bffbc4c4
commit
aa680f5fec
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue