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:
bdrewery 2013-04-16 17:30:13 +00:00
parent 8bcd0583fd
commit b5bdbccc2d

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"