Package: pgpool2
Tags: patch
Followup-For: Bug #464345
New version allows the use of "restart" - patch included for restart
option in init script.
--
Kind Regards,
Michael Shuler
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pgpool2 depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libpq5 8.3.3-1 PostgreSQL C client library
ii lsb-base 3.2-19 Linux Standard Base 3.2 init scrip
ii postgresql-common 90 PostgreSQL database-cluster manage
pgpool2 recommends no packages.
pgpool2 suggests no packages.
-- no debconf information
--- pgpool2-1.3/debian/init.d 2008-08-25 10:32:26.000000000 -0500
+++ pgpool2_2.1/debian/init.d 2008-08-25 12:15:25.000000000 -0500
@@ -88,7 +88,15 @@
fi
;;
reload)
- exit 3
+ is_running
+ status=$?
+ if [ $status -eq 0 ]; then
+ log_daemon_msg "Reloading pgpool-II" pgpool
+ su -c "$DAEMON -n $OPTS reload 2>&1 </dev/null >/dev/null 2>&1
&" - postgres
+ else
+ log_failure_msg "pgpool-II is not running."
+ exit $status
+ fi
;;
*)
log_failure_msg "Usage: $0
{start|stop|status|restart|try-restart|reload|force-reload}"