Also call configtest before reload to ensure working config.

Approved by:	jhb
MFC after:	1 week
X-MFC-With:	r249489
This commit is contained in:
Bryan Drewery 2013-04-16 17:30:13 +00:00
parent a49ab93ce2
commit d0f41f0f27
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249555

View file

@ -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"