Author: gotar                        Date: Mon Jun 29 12:45:19 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed pgpool path (thnx LCh again)
- use service restart for start

---- Files affected:
packages/pgpool:
   pgpool.monitrc (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/pgpool/pgpool.monitrc
diff -u packages/pgpool/pgpool.monitrc:1.1 packages/pgpool/pgpool.monitrc:1.2
--- packages/pgpool/pgpool.monitrc:1.1  Fri Jun 13 23:14:41 2008
+++ packages/pgpool/pgpool.monitrc      Mon Jun 29 14:45:14 2009
@@ -1,15 +1,15 @@
 check process pgpool with pidfile /var/run/pgpool.pid
        group pgpool
-       start program = "/etc/rc.d/init.d/pgpool start"
+       start program = "/etc/rc.d/init.d/pgpool restart"
        stop program = "/etc/rc.d/init.d/pgpool stop"
        if loadavg(5min) greater than 5 for 8 cycles then restart
-        if failed host 127.0.0.1 port 9999 type tcp then restart
+       if failed host 127.0.0.1 port 9999 type tcp then restart
        if 5 restarts within 5 cycles then timeout
 #      alert 123...@sms on { timeout }
        depends on pgpool_bin
        depends on pgpool_rc
 
-check file pgpool_bin with path /usr/sbin/pgpool
+check file pgpool_bin with path /usr/bin/pgpool
        group pgpool
        if failed checksum then unmonitor
        if failed permission 755 then unmonitor
@@ -24,4 +24,3 @@
        if failed uid root then unmonitor
        if failed gid root then unmonitor
 #      alert r...@localhost
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pgpool/pgpool.monitrc?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to