|
@@ -1,5 +1,5 @@
|
1
|
1
|
check process sshd with pidfile /var/run/sshd.pid
|
2
|
|
- start program "systemctl start sst"
|
|
2
|
+ start program "systemctl start ssh"
|
3
|
3
|
stop program "systemctl stop ssh"
|
4
|
4
|
if failed host 127.0.0.1 port 22 protocol ssh then restart
|
5
|
5
|
if 5 restarts within 5 cycles then timeout
|