r19: * popravljena greska u postinstu vezano uz sed na /etc/default/monit
[monit-cn.git] / monit-cn / openldap.conf
1 ## Begin - Generated by CARNet package monit-cn
2 #
3 #  This is a monit-cn template file.  REMOVE this whole comment block if
4 #  you DON'T WANT monit-cn to edit/remove/delete your configuration file.
5 #
6 ## End - Generated by CARNet package monit-cn
7
8 check process openldap with pidfile "/var/run/slapd/slapd.pid"
9         start program = "/etc/init.d/slapd start"
10         stop program = "/etc/init.d/slapd stop"
11         if failed host 127.0.0.1 port 389 protocol ldap3
12                 with timeout 10 seconds
13                 then restart
14         if 5 restarts within 5 cycles then timeout