mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Update sshd.conf
Update to CentOS 7 comand!
This commit is contained in:
parent
be837cb3e5
commit
c5bb40461c
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
check process sshd with pidfile /var/run/sshd.pid
|
check process sshd with pidfile /var/run/sshd.pid
|
||||||
start program = "/etc/init.d/sshd start"
|
start program = "/usr/bin/systemctl start sshd"
|
||||||
stop program = "/etc/init.d/sshd stop"
|
stop program = "/usr/bin/systemctl stop sshd"
|
||||||
|
if failed port 22 protocol ssh then restart
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue