svn commit: r250196 - stable/8/etc/rc.d
Bryan Drewery
bdrewery at FreeBSD.org
Thu May 2 21:51:57 UTC 2013
Author: bdrewery (ports committer)
Date: Thu May 2 21:51:57 2013
New Revision: 250196
URL: http://svnweb.freebsd.org/changeset/base/250196
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/8/etc/rc.d/sshd
Directory Properties:
stable/8/etc/ (props changed)
Modified: stable/8/etc/rc.d/sshd
==============================================================================
--- stable/8/etc/rc.d/sshd Thu May 2 21:49:43 2013 (r250195)
+++ stable/8/etc/rc.d/sshd Thu May 2 21:51:57 2013 (r250196)
@@ -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"
More information about the svn-src-all
mailing list