summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dspam/files/dspam.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/dspam/files/dspam.in b/mail/dspam/files/dspam.in
index e9256859a06c..4577ca4d3090 100644
--- a/mail/dspam/files/dspam.in
+++ b/mail/dspam/files/dspam.in
@@ -21,6 +21,13 @@
name="dspam"
rcvar=${name}_enable
+load_rc_config $name
+
+#defaults
+: ${dspam_enable="NO"}
+: ${dspam_debug="NO"}
+: ${dspam_pidfile:-/var/run/dspam.pid}
+
command=%%PREFIX%%/bin/${name}
if checkyesno dspam_debug
then
@@ -37,11 +44,4 @@ reload()
kill -HUP `cat $pidfile`
}
-load_rc_config $name
-
-#defaults
-: ${dspam_enable="NO"}
-: ${dspam_debug="NO"}
-: ${dspam_pidfile:-/var/run/dspam.pid}
-
run_rc_command "$1"