# HG changeset patch # User IBBoard # Date 1577800142 0 # Node ID 481acc395876376bee2b92b03028f34add12d113 # Parent 670e933bbd63f7ee9d1489c0c6d74e08a0c8372c Mask "clamav@amavisd" service to save memory Amavisd will scan using the binary each time, not a service. Without this, Clam chews memory, runs out and keeps restarting. This must have been configured manually on the old server. diff -r 670e933bbd63 -r 481acc395876 manifests/templates.pp --- a/manifests/templates.pp Mon Dec 30 17:00:10 2019 +0000 +++ b/manifests/templates.pp Tue Dec 31 13:49:02 2019 +0000 @@ -739,6 +739,10 @@ ensure => 'running', enable => 'true', } + service { 'clamd@amavisd': + ensure => 'stopped', + enable=> 'mask', + } file { '/etc/amavisd/amavisd.conf': ensure => present, source => 'puppet:///private/postfix/amavisd.conf',