summaryrefslogtreecommitdiffstats
path: root/security/clamav/files/clamav-freshclam.sh
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-26 10:15:19 +0000
committerpav <pav@FreeBSD.org>2004-05-26 10:15:19 +0000
commit96bfb943736bbce5dfa784cf9d0f2513c7484de0 (patch)
tree7d9f07958cddcba769e6b0c60f4ed99ca0e20c28 /security/clamav/files/clamav-freshclam.sh
parent624e3f501a413bdd5552f56668b67be8e54512ec (diff)
downloadFreeBSD-ports-96bfb943736bbce5dfa784cf9d0f2513c7484de0.zip
FreeBSD-ports-96bfb943736bbce5dfa784cf9d0f2513c7484de0.tar.gz
- Change location of milter socket to match clamav-devel port. This does not
affect users with already installed config files. - Cleanup PR: ports/67207 Submitted by: Rob Evers <rob@debank.tv> (maintainer)
Diffstat (limited to 'security/clamav/files/clamav-freshclam.sh')
-rw-r--r--security/clamav/files/clamav-freshclam.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/clamav/files/clamav-freshclam.sh b/security/clamav/files/clamav-freshclam.sh
index ea87bd5..82cc049 100644
--- a/security/clamav/files/clamav-freshclam.sh
+++ b/security/clamav/files/clamav-freshclam.sh
@@ -9,11 +9,11 @@
# KEYWORD: FreeBSD shutdown
#
-# Add the following lines to /etc/rc.conf to enable freshclam:
+# Add the following lines to /etc/rc.conf to enable freshclam daemon:
#
#clamav_freshclam_enable="YES"
#
-# See freshclam(8) for flags
+# See freshclam(1) for flags
#
. %%RC_SUBR%%
@@ -23,11 +23,12 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/bin/freshclam
required_dirs=%%DATADIR%%
+required_files=%%PREFIX%%/etc/freshclam.conf
# set defaults
clamav_freshclam_enable=${clamav_freshclam_enable:-"NO"}
-clamav_freshclam_flags=${clamav_freshclam_flags:-"--checks=1 --datadir=%%DATADIR%% --daemon-notify=%%PREFIX%%/etc/clamav.conf --log=/var/log/clamav/freshclam.log"}
+clamav_freshclam_flags=${clamav_freshclam_flags:-"--daemon-notify=%%PREFIX%%/etc/clamav.conf"}
load_rc_config $name
OpenPOWER on IntegriCloud