mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-01-09 20:33:37 -08:00
c5bb40461c
Update to CentOS 7 comand!
5 lines
201 B
Plaintext
5 lines
201 B
Plaintext
check process sshd with pidfile /var/run/sshd.pid
|
|
start program = "/usr/bin/systemctl start sshd"
|
|
stop program = "/usr/bin/systemctl stop sshd"
|
|
if failed port 22 protocol ssh then restart
|