質問編集履歴
1
誤字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
check process sshd with pidfile /var/run/sshd.pid
|
10
10
|
start program = "/etc/rc.d/init.d/sshd start"
|
11
11
|
stop program = "/etc/rc.d/init.d/sshd stop"
|
12
|
-
if failed port
|
12
|
+
if failed port 22 protocol ssh then restart
|
13
13
|
if 5 restarts within 5 cycles then timeout
|
14
14
|
```
|
15
15
|
```
|