33 lines
1 KiB
Text
33 lines
1 KiB
Text
$NetBSD: patch-etc_clamd.conf.sample,v 1.1 2014/03/11 14:34:40 jperkin Exp $
|
|
|
|
Make this useable out of the box.
|
|
|
|
--- etc/clamd.conf.sample.orig 2013-04-17 15:25:09.000000000 +0000
|
|
+++ 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.
|
|
@@ -58,7 +58,7 @@ Example
|
|
# This option allows you to save a process identifier of the listening
|
|
# daemon (main thread).
|
|
# Default: disabled
|
|
-#PidFile /var/run/clamd.pid
|
|
+PidFile @CLAMAV_DBDIR@/clamd.pid
|
|
|
|
# Optional path to the global temporary directory.
|
|
# Default: system specific (usually /tmp or /var/tmp).
|
|
@@ -77,7 +77,7 @@ Example
|
|
|
|
# Path to a local socket file the daemon will listen on.
|
|
# Default: disabled (must be specified by a user)
|
|
-#LocalSocket /tmp/clamd.socket
|
|
+LocalSocket @CLAMAV_DBDIR@/clamd.sock
|
|
|
|
# Sets the group ownership on the unix socket.
|
|
# Default: disabled (the primary group of the user running clamd)
|