mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
66 lines
2.1 KiB
Diff
66 lines
2.1 KiB
Diff
--- freshclam.conf.orig 2007-02-11 10:54:46.000000000 +0100
|
|
+++ freshclam.conf 2007-02-14 09:46:29.000000000 +0100
|
|
@@ -5,12 +5,12 @@
|
|
|
|
|
|
# Comment or remove the line below.
|
|
-Example
|
|
+#Example
|
|
|
|
# Path to the database directory.
|
|
# WARNING: It must match clamd.conf's directive!
|
|
# Default: hardcoded (depends on installation options)
|
|
-#DatabaseDirectory /var/lib/clamav
|
|
+#DatabaseDirectory /usr/share/clamav
|
|
|
|
# Path to the log file (make sure it has proper permissions)
|
|
# Default: disabled
|
|
@@ -22,25 +22,25 @@
|
|
|
|
# Use system logger (can work together with UpdateLogFile).
|
|
# Default: no
|
|
-#LogSyslog yes
|
|
+LogSyslog yes
|
|
|
|
# Specify the type of syslog messages - please refer to 'man syslog'
|
|
# for facility names.
|
|
# Default: LOG_LOCAL6
|
|
-#LogFacility LOG_MAIL
|
|
+LogFacility LOG_MAIL
|
|
|
|
# This option allows you to save the process identifier of the daemon
|
|
# Default: disabled
|
|
-#PidFile /var/run/freshclam.pid
|
|
+PidFile /var/run/clamav/freshclam.pid
|
|
|
|
# By default when started freshclam drops privileges and switches to the
|
|
# "clamav" user. This directive allows you to change the database owner.
|
|
# Default: clamav (may depend on installation options)
|
|
-#DatabaseOwner clamav
|
|
+DatabaseOwner clamav
|
|
|
|
# Initialize supplementary group access (freshclam must be started by root).
|
|
# Default: no
|
|
-#AllowSupplementaryGroups yes
|
|
+AllowSupplementaryGroups yes
|
|
|
|
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
|
|
# to verify database and software versions. With this directive you can change
|
|
@@ -52,7 +52,7 @@
|
|
|
|
# Uncomment the following line and replace XY with your country
|
|
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
|
|
-#DatabaseMirror db.XY.clamav.net
|
|
+DatabaseMirror db.COUNTRY.clamav.net
|
|
|
|
# database.clamav.net is a round-robin record which points to our most
|
|
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
|
|
@@ -92,7 +92,7 @@
|
|
|
|
# Send the RELOAD command to clamd.
|
|
# Default: no
|
|
-#NotifyClamd /path/to/clamd.conf
|
|
+NotifyClamd /etc/clamd.conf
|
|
|
|
# Run command after successful database update.
|
|
# Default: disabled
|