projects
/
monit-cn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9bbd5e26ea6b320ef14fa5cb322182aae8b8cb8b
[monit-cn.git]
/
monit-cn
/
sshd.conf
1
# sshd monit-cn template
2
3
check process sshd with pidfile "/var/run/sshd.pid"
4
start program = "/etc/init.d/ssh start"
5
stop program = "/etc/init.d/ssh stop"
6
if failed host 127.0.0.1 port 22 protocol ssh
7
with timeout 15 seconds
8
then restart