Run configtest before restarting so that the system is not

left without a running sshd.

Approved by:	des
MFC after:	1 week
This commit is contained in:
Bryan Drewery 2013-04-14 21:11:19 +00:00
parent 5ea21e6904
commit 35bee62512

View file

@ -14,6 +14,7 @@ rcvar="sshd_enable"
command="/usr/sbin/${name}"
keygen_cmd="sshd_keygen"
start_precmd="sshd_precmd"
restart_precmd="sshd_configtest"
configtest_cmd="sshd_configtest"
pidfile="/var/run/${name}.pid"
extra_commands="configtest keygen reload"