aboutsummaryrefslogtreecommitdiff
path: root/security/clamsmtp/files
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 09:41:06 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-02-21 09:41:06 +0000
commit7922f1ad2cf14d0fe9f4ead277dc26d46c9406fc (patch)
tree306659a0bc5ddeb30263a60cc4010cddc403bf35 /security/clamsmtp/files
parent048cd7de46864b74b20c2c1cd6bb449fd3922da6 (diff)
Notes
Diffstat (limited to 'security/clamsmtp/files')
-rw-r--r--security/clamsmtp/files/clamsmtpd.sh.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/clamsmtp/files/clamsmtpd.sh.in b/security/clamsmtp/files/clamsmtpd.sh.in
index e3c11351415a..834bcab5775a 100644
--- a/security/clamsmtp/files/clamsmtpd.sh.in
+++ b/security/clamsmtp/files/clamsmtpd.sh.in
@@ -19,16 +19,16 @@
name="clamsmtpd"
rcvar=${name}_enable
+: ${clamsmtpd_enable="NO"}
+: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
+: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
+
+load_rc_config ${name}
+
command=%%PREFIX%%/sbin/${name}
command_args="-f ${clamsmtpd_conf} -p ${clamsmtpd_pid}"
required_files=${clamsmtpd_conf}
pidfile=${clamsmtpd_pid}
sig_stop=-KILL
-load_rc_config ${name}
-
-: ${clamsmtpd_enable="NO"}
-: ${clamsmtpd_conf="%%PREFIX%%/etc/clamsmtpd.conf"}
-: ${clamsmtpd_pid="%%CLAMAV_PID_DIR%%/clamsmtpd.pid"}
-
run_rc_command "$1"