openbsd-ports/security/clamav/patches/patch-etc_clamd_conf_sample
2018-12-04 12:33:40 +00:00

41 lines
1.3 KiB
Plaintext

$OpenBSD: patch-etc_clamd_conf_sample,v 1.7 2018/12/04 12:33:40 sthen Exp $
Index: etc/clamd.conf.sample
--- etc/clamd.conf.sample.orig
+++ etc/clamd.conf.sample
@@ -11,7 +11,7 @@ Example
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
-#LogFile /tmp/clamd.log
+#LogFile /var/log/clamd.log
# By default the log file is locked for writing - the lock protects against
# running clamd multiple times (if want to run another clamd, please
@@ -79,7 +79,7 @@ Example
# Path to the database directory.
# Default: hardcoded (depends on installation options)
-#DatabaseDirectory /var/lib/clamav
+#DatabaseDirectory /var/db/clamav
# Only load the official signatures published by the ClamAV project.
# Default: no
@@ -204,7 +204,7 @@ Example
# Run as another user (clamd must be started by root for this option to work)
# Default: don't drop privileges
-#User clamav
+User _clamav
# Stop daemon when libclamav reports out of memory condition.
#ExitOnOOM yes
@@ -499,7 +499,7 @@ Example
# deeply the process should be continued.
# Note: setting this limit too high may result in severe damage to the system.
# Default: 16
-#MaxRecursion 10
+MaxRecursion 12
# Number of files to be scanned within an archive, a document, or any other
# container file.