Masato Taruishi
taru****@users*****
2004年 10月 13日 (水) 19:59:53 JST
=================================================================== RCS file: ultrapossum/module/failover/ps.monitor,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ultrapossum/module/failover/ps.monitor 2004/10/12 08:02:06 1.1 +++ ultrapossum/module/failover/ps.monitor 2004/10/13 10:59:53 1.2 @@ -21,10 +21,7 @@ set -e -eval `ultrapossum-config init` -trap "eval `ultrapossum-config term`" 0 - -pidfile=$localstatedir/run/$1.pid +pidfile=$1 if [ -f $pidfile ]; then pid=`cat $pidfile` =================================================================== RCS file: ultrapossum/module/failover/ultrapossum.mon.cf.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ultrapossum/module/failover/ultrapossum.mon.cf.in 2004/10/12 13:13:49 1.4 +++ ultrapossum/module/failover/ultrapossum.mon.cf.in 2004/10/13 10:59:53 1.5 @@ -26,7 +26,7 @@ numalerts 1 # service heartbeat # interval 5s -# monitor ps.monitor heartbeat +# monitor ps.monitor #HAPIDFILE# # depend SELF:ldap # depend SELF:nfs # depend loadbalancer:ping