8ce1fe41278e2a195b084740bff052ac350ef06e
[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