]> git.proxmox.com Git - pmg-api.git/commitdiff
templates/freshclam.conf.in: add template for freshclam config
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2017 18:28:28 +0000 (19:28 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 15 Feb 2017 18:28:28 +0000 (19:28 +0100)
templates/freshclam.conf.in [new file with mode: 0644]

diff --git a/templates/freshclam.conf.in b/templates/freshclam.conf.in
new file mode 100644 (file)
index 0000000..0aa819a
--- /dev/null
@@ -0,0 +1,29 @@
+DatabaseOwner clamav
+LogVerbose false
+LogSyslog true
+LogFacility LOG_LOCAL6
+LogFileMaxSize 0
+Foreground false
+Debug false
+MaxAttempts 5
+Checks 24
+AllowSupplementaryGroups false
+DatabaseDirectory /var/lib/clamav/
+PidFile /var/run/clamav/freshclam.pid
+DatabaseMirror [% pmg.clamav.dbmirror %]
+ConnectTimeout 30
+ReceiveTimeout 30
+ScriptedUpdates no
+CompressLocalDatabase no
+NotifyClamd /etc/clamav/clamd.conf
+DNSDatabaseInfo current.cvd.clamav.net
+[% IF pmg.admin.proxyserver %]
+HTTPProxyServer [% pmg.admin.proxyserver %]
+HTTPProxyPort [% pmg.admin.proxyport %]
+[% IF pmg.admin.proxyuser %]
+HTTPProxyUsername [% pmg.admin.proxyuser %]
+[% END %]
+[% IF pmg.admin.proxypassword %]
+HTTPProxyPassword [% pmg.admin.proxypassword %]
+[% END %]
+[% END %]