From: Nicolas Payart <postgresql@htmledit.com>
To: pgsql-pkg-debian@postgresql.org
Subject: pgbouncer init.d script
Date: Wed, 20 Mar 2013 15:58:52 +0100
Message-ID: <5149CEAC.5040107@htmledit.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
I just installed pgbouncer 1.5.4-2.pgdg60+1 from apt.postgresql.org repo
on a Linux Debian Squeeze.
init.d script use start-stop-daemon with option "--status".
But start-stop-daemon version on debian squeeze is actually 1.15.8.13
and does not implement "--status" option...
So when calling restart or status command, you get an error :
15:53| nico@vm:~ # /etc/init.d/pgbouncer restart
start-stop-daemon: unrecognized option '--status'
Try 'start-stop-daemon --help' for more information.
Starting server: pgbouncer/usr/sbin/pgbouncer already running.
.
.
Waiting for a patch, I commented the following lines in
/etc/init.d/pgbouncer :
restart)
# $SSD --status
# if [ $? -eq 0 ] ; then
echo -n "Invoking $NAME restart"
su -c "$DAEMON -R $OPTS 2> /dev/null" - $RUNASUSER
# sleep 5
# $SSD --status
# else
# $0 start
# fi
;;
Regards,
Nico
--
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: postgresql@htmledit.com
Subject: Re: pgbouncer init.d script
In-Reply-To: <5149CEAC.5040107@htmledit.com>
References: <5149CEAC.5040107@htmledit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox