summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-09-17 20:24:03 +0000
committerhrs <hrs@FreeBSD.org>2013-09-17 20:24:03 +0000
commit626934612b35d4839dcbe0a6855e7e81c94cb148 (patch)
treed2e59a73f24c4cb4781006af3ab88964c8dbb76f
parentb688fb253785402e5be5cb6c14c88b272b6c2117 (diff)
downloadFreeBSD-src-626934612b35d4839dcbe0a6855e7e81c94cb148.zip
FreeBSD-src-626934612b35d4839dcbe0a6855e7e81c94cb148.tar.gz
- Fix pidfile handling in sendmail_msp_queue. The pidfile was ignored
and multiple instances were invoked by start/stop cycles. - Remove redundant start_cmd rewrite. Approved by: re (gjb) Tested by: jmg
-rwxr-xr-xetc/rc.d/sendmail7
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail
index 7c3f660..712bb3e 100755
--- a/etc/rc.d/sendmail
+++ b/etc/rc.d/sendmail
@@ -80,20 +80,17 @@ required_files=
if checkyesno sendmail_submit_enable; then
name="sendmail_submit"
rcvar="sendmail_submit_enable"
- start_cmd="${command} ${sendmail_submit_flags}"
run_rc_command "$1"
fi
if checkyesno sendmail_outbound_enable; then
name="sendmail_outbound"
rcvar="sendmail_outbound_enable"
- start_cmd="${command} ${sendmail_outbound_flags}"
run_rc_command "$1"
fi
-name="sendmail_clientmqueue"
+name="sendmail_msp_queue"
rcvar="sendmail_msp_queue_enable"
-start_cmd="${command} ${sendmail_msp_queue_flags}"
-pidfile="${sendmail_mspq_pidfile:-/var/spool/clientmqueue/sm-client.pid}"
+pidfile="${sendmail_msp_queue_pidfile:-/var/spool/clientmqueue/sm-client.pid}"
required_files="/etc/mail/submit.cf"
run_rc_command "$1"
OpenPOWER on IntegriCloud