Fix clam conf in template
This commit is contained in:
parent
2772c898b1
commit
6ebe98890e
|
@ -16,7 +16,7 @@ elsif ($max =~ m/K$/){
|
||||||
# 1MB of margin to be sure we don't go over clamd limit
|
# 1MB of margin to be sure we don't go over clamd limit
|
||||||
$limit -= 1024 * 1024;
|
$limit -= 1024 * 1024;
|
||||||
$OUT .=<<"EOF";
|
$OUT .=<<"EOF";
|
||||||
\$clamdScan = 'unix:///var/clamav/clamd.socket';
|
\$clamdSocket = 'unix:///var/clamav/clamd.socket';
|
||||||
\$scanMax = $limit;
|
\$scanMax = $limit;
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user