X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=3bd6b21725ea4b1f05d91059be088f24889b4361;hb=a59404493d3f4a432c6083e2657d6622a79b90ed;hp=716a8b17ddfcd10628fef84adca377004656824d;hpb=6a00cb7fd60392cb2aa1343af02b5d95a5e6241f;p=distro-setup diff --git a/mail-setup b/mail-setup index 716a8b1..3bd6b21 100755 --- a/mail-setup +++ b/mail-setup @@ -467,6 +467,7 @@ EOF # just noticed this in the config file, seems like a good idea. s sed -i '/^\s*NICE\s*=/d' /etc/default/spamassassin s tee -a /etc/default/spamassassin <<<'NICE="--nicelevel 15"' + ser reload spamassassin s dd of=/etc/systemd/system/spamddnsfix.service <<'EOF' [Unit] @@ -484,7 +485,7 @@ Description=run spamd bug fix script every 10 minutes # the script looks back 9 minutes into the journal, # it takes a second to run, # so lets run every 9 minutes and 10 seconds. -OnActiveSec=550 +OnUnitInactiveSec=550 [Install] WantedBy=timers.target