Date: Thu, 2 May 2013 21:49:43 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r250195 - stable/9/etc/rc.d Message-ID: <201305022149.r42LnhrK041347@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery (ports committer) Date: Thu May 2 21:49:43 2013 New Revision: 250195 URL: http://svnweb.freebsd.org/changeset/base/250195 Log: MFC r249489,249555 Run configtest before restarting so that the system is not left without a running sshd. Also call configtest before reload to ensure working config. Modified: stable/9/etc/rc.d/sshd Directory Properties: stable/9/etc/ (props changed) Modified: stable/9/etc/rc.d/sshd ============================================================================== --- stable/9/etc/rc.d/sshd Thu May 2 21:09:47 2013 (r250194) +++ stable/9/etc/rc.d/sshd Thu May 2 21:49:43 2013 (r250195) @@ -14,6 +14,8 @@ rcvar="sshd_enable" command="/usr/sbin/${name}" keygen_cmd="sshd_keygen" start_precmd="sshd_precmd" +reload_precmd="sshd_configtest" +restart_precmd="sshd_configtest" configtest_cmd="sshd_configtest" pidfile="/var/run/${name}.pid" extra_commands="configtest keygen reload"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305022149.r42LnhrK041347>