minor fixes, indenting
[distro-setup] / mail-setup
index 716a8b17ddfcd10628fef84adca377004656824d..3bd6b21725ea4b1f05d91059be088f24889b4361 100755 (executable)
@@ -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