Author: eadler Date: Sat Mar 3 10:32:00 2018 New Revision: 330321 URL: https://svnweb.freebsd.org/changeset/base/330321
Log: MFC r319843: Fix 'restart' action: rc.subr only expects to restart one service, not two. PR: 217393 Modified: stable/11/etc/rc.d/sendmail Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/rc.d/sendmail ============================================================================== --- stable/11/etc/rc.d/sendmail Sat Mar 3 10:30:54 2018 (r330320) +++ stable/11/etc/rc.d/sendmail Sat Mar 3 10:32:00 2018 (r330321) @@ -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" _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"