projects
/
monit-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r18: - popravljena greska u defaultnom templateu za "alert on"
[monit-cn.git]
/
monit-cn
/
sshd.conf
diff --git
a/monit-cn/sshd.conf
b/monit-cn/sshd.conf
index
8ce1fe4
..
9bbd5e2
100644
(file)
--- a/
monit-cn/sshd.conf
+++ b/
monit-cn/sshd.conf
@@
-1,8
+1,8
@@
# sshd monit-cn template
check process sshd with pidfile "/var/run/sshd.pid"
# sshd monit-cn template
check process sshd with pidfile "/var/run/sshd.pid"
- start program "/etc/init.d/ssh start"
- stop program "/etc/init.d/ssh stop"
+ start program = "/etc/init.d/ssh start"
+ stop program = "/etc/init.d/ssh stop"
if failed host 127.0.0.1 port 22 protocol ssh
with timeout 15 seconds
then restart
if failed host 127.0.0.1 port 22 protocol ssh
with timeout 15 seconds
then restart