Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YtLqm-0002xz-4y for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 15 May 2015 20:04:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YtLql-0004dx-Jf for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 15 May 2015 20:04:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YtLqh-0004Wn-A4 for pgsql-pkg-yum@postgresql.org; Fri, 15 May 2015 20:04:47 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1YtLqd-00006k-Ua for pgsql-pkg-yum@postgresql.org; Fri, 15 May 2015 20:04:46 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LkgAG-1ZRajl3dOm-00aU5d for ; Fri, 15 May 2015 22:04:42 +0200 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 480B420864 for ; Fri, 15 May 2015 16:04:40 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 15 May 2015 16:04:40 -0400 X-Sasl-enc: sCSz2PE3Iuluv+gnyLxQx1xLdkoJ32AGr8Rv2kcAGvpn 1431720280 Received: from [192.168.1.147] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 12E4D6800C7; Fri, 15 May 2015 16:04:40 -0400 (EDT) Message-ID: <55565157.8030907@gmx.net> Date: Fri, 15 May 2015 16:04:39 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= CC: pgsql-pkg-yum@postgresql.org Subject: Re: pgbouncer systemd does not work on CentOS 7 References: <554A7105.1050002@gmx.net> <1431466014.4314.19.camel@gunduz.org> In-Reply-To: <1431466014.4314.19.camel@gunduz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:sTu6K0O5fkTqxHwiN/xYbACcIznIow/Ica0Eb//FJerGq2AHaS9 T2N1ifCXErRnnu0WouGrcgvaf+dJFtVSSY9ujYoQq1VZwXUGEJwWqIS7gcir73Gq97wbvSH Kx881gz7ssNTanT06ds7dqsjdvAfVtziZgJUXyOvCoSqXrVv4KNki9lo/V0ttvj++bGPNX2 3RPsTfMbVGJ37eYzjNx2g== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org On 5/12/15 5:26 PM, Devrim Gündüz wrote: > > Hi Peter, > > On Wed, 2015-05-06 at 15:52 -0400, Peter Eisentraut wrote: >> After installing pgbouncer-1.5.5-1.rhel7.x86_64.rpm on CentOS 7.0, it >> does not remain running. No errors are logged. >> >> I think the systemd configuration is faulty. It currently reads >> >> [Service] >> Type=forked >> >> ... >> >> ExecStart=/usr/bin/pgbouncer -d -v ${BOUNCERCONF} >> >> If I change that to >> >> [Service] >> Type=simple >> >> ... >> >> ExecStart=/usr/bin/pgbouncer -v ${BOUNCERCONF} >> >> it works >> >> Alternatively, the first version can be made to work by adding >> RemainAfterExit=yes. >> >> But clearly, the second version is more in line with the systemd philosophy. > > Thanks for the report. I picked up second way, and committed to git. Why? Wouldn't the non-forking approach be more in line with what systemd expects? -- Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum