mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-23 05:50: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
|