aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamsmtp/files
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-02-21 09:43:31 +0800
committerclsung <clsung@FreeBSD.org>2006-02-21 09:43:31 +0800
commit0ed16c76e8ff1719f2b44c96ee40e02fda9fafac (patch)
treeae4c04e913f39a1a360c2e6be1570993e77977de /security/clamsmtp/files
parentc5ec1973084dba7fd20e90510ebe447874f51d4c (diff)
downloadfreebsd-ports-gnome-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.tar.gz
freebsd-ports-gnome-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.tar.zst
freebsd-ports-gnome-0ed16c76e8ff1719f2b44c96ee40e02fda9fafac.zip
- files/clamsmtpd.sh.in cause start-up error
- bump PORTREVISION PR: 93541 Submitted by: KIMURA Yasuhiro <yasu AT utahime dot org> Reviewed by: mnag
Diffstat (limited to 'security/clamsmtp/files')
-rw-r--r--security/clamsmtp/files/clamsmtpd.sh.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/security/clamsmtp/files/clamsmtpd.sh.in b/security/clamsmtp/files/clamsmtpd.sh.in
index 1740c58c17e9..e3c11351415a 100644
--- a/security/clamsmtp/files/clamsmtpd.sh.in
+++ b/security/clamsmtp/files/clamsmtpd.sh.in
@@ -8,9 +8,10 @@
# Add the fellowing line to /etc/rc.conf.local or /etc/rc.conf
# to enable clamsmtpd:
#
-# clamsmtpd_enable="YES"
-#
-# Set clamsmtpd_debug to something other that 0 if you need
+# clamsmtpd_enable (bool): Set it to "YES" to enable clamsmtpd
+# Default is "NO".
+# clamsmtpd_conf (file): Set location of your configuration file.
+# Default is "%%PREFIX%%/etc/clamsmtpd.conf"
#
. %%RC_SUBR%%
@@ -19,7 +20,8 @@ name="clamsmtpd"
rcvar=${name}_enable
command=%%PREFIX%%/sbin/${name}
-command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid} -d ${clamsmtpd_debug}"
+command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}"
+required_files=${clamsmtpd_conf}
pidfile=${clamsmtpd_pid}
sig_stop=-KILL
@@ -28,6 +30,5 @@ load_rc_config ${name}
: ${clamsmtpd_enable="NO"}
: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
-: ${clamsmtpd_debug="0"}
run_rc_command "$1"