Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZeSg8-00086A-2z for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 22 Sep 2015 18:52:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZeSg7-0003nE-Ke for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 22 Sep 2015 18:52:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZeSg7-0003n8-B0 for pgsql-pkg-yum@postgresql.org; Tue, 22 Sep 2015 18:52:35 +0000 Received: from mout.gmx.net ([212.227.17.22]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZeSg4-0004Kb-1r for pgsql-pkg-yum@postgresql.org; Tue, 22 Sep 2015 18:52:33 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MDV5t-1ZugDo3ud3-00Gpve for ; Tue, 22 Sep 2015 20:52:30 +0200 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 095CF20330 for ; Tue, 22 Sep 2015 14:52:28 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 22 Sep 2015 14:52:28 -0400 X-Sasl-enc: 24X1d6zXcqV1eGjE7qH/42fN+8rX12c3OefDzRq4Baz8 1442947947 Received: from [192.168.1.59] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id CC90C6800AE; Tue, 22 Sep 2015 14:52:27 -0400 (EDT) Subject: Re: pgbouncer systemd does not work on CentOS 7 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= References: <554A7105.1050002@gmx.net> <1431466014.4314.19.camel@gunduz.org> <55565157.8030907@gmx.net> Cc: pgsql-pkg-yum@postgresql.org From: Peter Eisentraut Message-ID: <5601A36B.5070404@gmx.net> Date: Tue, 22 Sep 2015 14:52:27 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55565157.8030907@gmx.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:xY19wFKugT2gHzkotH3fJa1QsfaWla+OR1fvT7bhicwgKSB1AUG bGlwdOIRAWstuIDGP0gqiOtvWcTf6SPJsY3l16oB8dkI7DJhhoYCwBZVCGMEdj8uxbVXSLq hwVQ/Ne2xwAJP6erB6CvF+HP52EJwR6crJ/4RhyBMobwzKgVotZYBi3Epa+338AG9INDOOc r+CLxFTHYWW70MokQSqGw== X-UI-Out-Filterresults: notjunk:1;V01:K0:JQpZLk+bHoQ=:StFERLsih+b255FWIX6YaA b0I3Oz1Sf8V+L1n+qYRL3PbwudmIbzyF8Rc8b8ajaAUX9TomK3I1zvOPQq2iGLpVSmI5IO5qT JaOCrj895MXj/5y75ADbD8g4Lo5n9W9fTxvabSSh8gcwW/RHjMnyI2/y0yoRY9iucZ1VsjUD5 +HHJHZqENnOcRwN9f4Fqmo1F9Xi677+mPMY7cHPI4eNNS7Ij5Qz+if3PwmW2aNIGSbCuKI6PM LqjL9PsWWd/tBxBv+6B+gleS33GiFjB8UtMKH5KDQoR0pxNcQnj2GK/GFS2Xca/RZKlA/9MzZ eIH0LvJuCLWWM93y0Ys9yH3sxfaAup+TfsgAvvknqOHxbM8OKz3yxtoyAWimmg7yVxM4c04ye iAPV2WY1sQhlB114FuXQntbjp3yD00EVxOTUu7qCwwEKYcjSn+0z+vvZoEKi8P6E1Eb0jf93o AupS/u20YRnBTFkZ0UYWYJl2+sID/7pAZv+e1sB87YIw7HTYTTHu1PJI0Pmh3O2N329E5A+PC 2/npj89bxHCBY8fOrSjtgVVjayqfeiJVDL1LwEWhvCOgNqf2q1Zhnfsm8+Mf9vuEr0ZBUUJSv pX9zovtT19qJ1lxyCxj4zrj5YLFu+oQ+iQKBn5OVjtthR0HhRE7eCGCiDtfBrYTXUFY6ntLpI 87RKz1aVCVujR6xSxCtcL63oe2qOum+G0/rC+iu+1AbImr92ZqwpLaJAAWuVIG99ZLPRHhifK EtaNBi9tZHISrEJ5YsCdXoiGsrq4WyV5sEOXUw== X-Pg-Spam-Score: -2.6 (--) 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/15/15 4:04 PM, Peter Eisentraut wrote: > On 5/12/15 5:26 PM, Devrim Gündüz wrote: >>> 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? ping -- 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