svn commit: r249555 - head/etc/rc.d
Bryan Drewery
bdrewery at FreeBSD.org
Tue Apr 16 17:30:14 UTC 2013
Author: bdrewery (ports committer)
Date: Tue Apr 16 17:30:13 2013
New Revision: 249555
URL: http://svnweb.freebsd.org/changeset/base/249555
Log:
Also call configtest before reload to ensure working config.
Approved by: jhb
MFC after: 1 week
X-MFC-With: r249489
Modified:
head/etc/rc.d/sshd
Modified: head/etc/rc.d/sshd
==============================================================================
--- head/etc/rc.d/sshd Tue Apr 16 17:20:52 2013 (r249554)
+++ head/etc/rc.d/sshd Tue Apr 16 17:30:13 2013 (r249555)
@@ -14,6 +14,7 @@ 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"
More information about the svn-src-all
mailing list