Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UIKkC-0000HV-1G for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 20 Mar 2013 15:16:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UIKkB-0007DJ-FP for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 20 Mar 2013 15:15:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UIKU3-0006EQ-0O for pgsql-pkg-debian@postgresql.org; Wed, 20 Mar 2013 14:59:19 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UIKTy-0006Dy-K9 for pgsql-pkg-debian@postgresql.org; Wed, 20 Mar 2013 14:59:18 +0000 Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 8415AA80B5 for ; Wed, 20 Mar 2013 15:58:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter13-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id OVeSKzsWTaOe for ; Wed, 20 Mar 2013 15:58:51 +0100 (CET) X-Originating-IP: 82.236.141.76 Received: from [10.2.6.96] (cse35-1-82-236-141-76.fbx.proxad.net [82.236.141.76]) (Authenticated sender: nico@koleo.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 10486A80C6 for ; Wed, 20 Mar 2013 15:58:52 +0100 (CET) Message-ID: <5149CEAC.5040107@htmledit.com> Date: Wed, 20 Mar 2013 15:58:52 +0100 From: Nicolas Payart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: pgsql-pkg-debian@postgresql.org Subject: pgbouncer init.d script Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org 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