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:
parent
8bcd0583fd
commit
b5bdbccc2d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user