Fix 'restart' action: rc.subr only expects to restart one service, not two.
PR: 217393 Reported by: Martin Simmons MFC after: 1 week
This commit is contained in:
parent
5e3f43f2e0
commit
720046d61c
@ -206,12 +206,14 @@ required_files=
|
||||
if checkyesno sendmail_submit_enable; then
|
||||
name="sendmail_submit"
|
||||
rcvar="sendmail_submit_enable"
|
||||
_rc_restart_done=false
|
||||
run_rc_command "$1"
|
||||
fi
|
||||
|
||||
if checkyesno sendmail_outbound_enable; then
|
||||
name="sendmail_outbound"
|
||||
rcvar="sendmail_outbound_enable"
|
||||
_rc_restart_done=false
|
||||
run_rc_command "$1"
|
||||
fi
|
||||
|
||||
@ -219,4 +221,5 @@ name="sendmail_msp_queue"
|
||||
rcvar="sendmail_msp_queue_enable"
|
||||
pidfile="${sendmail_msp_queue_pidfile:-/var/spool/clientmqueue/sm-client.pid}"
|
||||
required_files="/etc/mail/submit.cf"
|
||||
_rc_restart_done=false
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user