71 lines
2.2 KiB
Diff
71 lines
2.2 KiB
Diff
diff --git a/etc/clamd.conf.sample b/etc/clamd.conf.sample
|
|
index 120cf32..b4bc4c1 100644
|
|
--- a/etc/clamd.conf.sample
|
|
+++ b/etc/clamd.conf.sample
|
|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
# Comment or remove the line below.
|
|
-Example
|
|
+#Example
|
|
|
|
# Uncomment this option to enable logging.
|
|
# LogFile must be writable for the user running daemon.
|
|
@@ -74,7 +74,7 @@ Example
|
|
# It is recommended that the directory where this file is stored is
|
|
# also owned by root to keep other users from tampering with it.
|
|
# Default: disabled
|
|
-#PidFile /run/clamav/clamd.pid
|
|
+PidFile /var/run/clamd.pid
|
|
|
|
# Optional path to the global temporary directory.
|
|
# Default: system specific (usually /tmp or /var/tmp).
|
|
@@ -115,7 +115,7 @@ Example
|
|
|
|
# TCP port address.
|
|
# Default: no
|
|
-#TCPSocket 3310
|
|
+TCPSocket 3310
|
|
|
|
# TCP address.
|
|
# By default we bind to INADDR_ANY, probably not wise.
|
|
@@ -123,7 +123,7 @@ Example
|
|
# from the outside world. This option can be specified multiple
|
|
# times if you want to listen on multiple IPs. IPv6 is now supported.
|
|
# Default: no
|
|
-#TCPAddr localhost
|
|
+TCPAddr localhost
|
|
|
|
# Maximum length the queue of pending connections may grow to.
|
|
# Default: 200
|
|
diff --git a/etc/freshclam.conf.sample b/etc/freshclam.conf.sample
|
|
index d91fe81..f07a5e4 100644
|
|
--- a/etc/freshclam.conf.sample
|
|
+++ b/etc/freshclam.conf.sample
|
|
@@ -5,14 +5,14 @@
|
|
|
|
|
|
# Comment or remove the line below.
|
|
-Example
|
|
+#Example
|
|
|
|
# Path to the database directory.
|
|
# WARNING: It must match clamd.conf's directive!
|
|
# WARNING: It must already exist, be an absolute path, be writeable by
|
|
# freshclam, and be readable by clamd/clamscan.
|
|
# Default: hardcoded (depends on installation options)
|
|
-#DatabaseDirectory /var/lib/clamav
|
|
+DatabaseDirectory /var/lib/clamav
|
|
|
|
# Path to the log file (make sure it has proper permissions)
|
|
# Default: disabled
|
|
@@ -54,7 +54,7 @@ Example
|
|
# It is recommended that the directory where this file is stored is
|
|
# also owned by root to keep other users from tampering with it.
|
|
# Default: disabled
|
|
-#PidFile /run/clamav/freshclam.pid
|
|
+PidFile /var/run/freshclam.pid
|
|
|
|
# By default when started freshclam drops privileges and switches to the
|
|
# "clamav" user. This directive allows you to change the database owner.
|