smeserver-clamav/root/etc/e-smith/db/configuration/migrate/clamdMemLimit

8 lines
185 B
Plaintext
Raw Permalink Normal View History

{
my $clamd = $DB->get('clamd');
return unless $clamd;
my $size = 1610612736;
$DB->set_prop('clamd', 'MemLimit', $size) if $DB->get_prop('clamd','MemLimit') < $size;
}