diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-09-13 12:47:48 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-09-13 12:47:48 -0400 |
| commit | 2af70d4ac7ff25a3e596de195abe40db46c74074 (patch) | |
| tree | ca3be263344bfcb24b53eb6bbbc5ef3b5c942904 | |
| parent | 9003e331e4b225bd07e4c343ab77f975571cb7a3 (diff) | |
add virus collection cleanup
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index b6524f69..0a59452c 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -520,6 +520,9 @@ kiteMailServer = propertyList "kitenet.net mail server" $ props `onChange` Service.restarted "amavisd-milter" `describe` "amavisd-milter configured for postfix" & Apt.serviceInstalledRunning "clamav-freshclam" + -- Workaround https://bugs.debian.org/569150 + & Cron.niceJob "amavis-expire" Cron.Daily (User "root") "/" + "find /var/lib/amavis/virusmails/ -type f -ctime +7 -delete" & dkimInstalled |
