+2012/02/17
+ * add "pkill -P 1 pgpool" when missing pgpool main process at stop-action
+
+2010/12/1
+ * add monitor_ip option
+ * modify code indent
+ * remove comment out code
+
2010/11/8
* fix bug in pgpool.monitor arguments.
#
# Author: TANIDA Yutaka, TAKATSUKA Haruka
#
-# Copyright (c) 2006-2010 PgPool Global Development Group
+# Copyright (c) 2006-2012 PgPool Global Development Group
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
fi
else
ocf_log info "pgpoolRA: request stop, but not running."
+ if which pkill ; then
+ if pkill -P 1 pgpool ; then
+ ocf_log info "pgpoolRA: purge orphaned pgpool processes."
+ sleep 1
+ fi
+ fi
exit 0
fi
;;