ports/security/clamav/patches/patch-etc_clamd_conf_sample

30 lines
950 B
Text

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
@@ -82,7 +82,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
@@ -223,7 +223,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