summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/clamav/freshclam.conf.j2
blob: 650a2b3194f852e5bebb9ede18e0c869a4f8e01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate true
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
NotifyClamd /etc/clamav/clamd.conf
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.{{ geoip | default('local') }}.clamav.net
{% if geoip is defined and ansible_default_ipv6 %}
DatabaseMirror db.{{ geoip }}.ipv6.clamav.net
{% endif %}
DatabaseMirror database.clamav.net
DatabaseMirror db.other.clamav.net