Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YsHhi-0007ud-IU for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 12 May 2015 21:27:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YsHhi-0002Eq-05 for pgsql-pkg-yum@arkaria.postgresql.org; Tue, 12 May 2015 21:27:06 +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 1YsHhh-0002Ek-Hy for pgsql-pkg-yum@postgresql.org; Tue, 12 May 2015 21:27:05 +0000 Received: from ns3.gunduz.org ([107.170.88.27] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YsHhe-0004GT-31 for pgsql-pkg-yum@postgresql.org; Tue, 12 May 2015 21:27:04 +0000 Received: from asus-laptop-03 (unknown [94.197.121.34]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id B53B64040C; Tue, 12 May 2015 21:26:59 +0000 (UTC) Message-ID: <1431466014.4314.19.camel@gunduz.org> Subject: Re: pgbouncer systemd does not work on CentOS 7 From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Peter Eisentraut Cc: pgsql-pkg-yum@postgresql.org Date: Wed, 13 May 2015 00:26:54 +0300 In-Reply-To: <554A7105.1050002@gmx.net> References: <554A7105.1050002@gmx.net> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-fShVI8eMrTqxg8BBj4IZ" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) 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 --=-fShVI8eMrTqxg8BBj4IZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > I think the systemd configuration is faulty. It currently reads >=20 > [Service] > Type=3Dforked >=20 > ... >=20 > ExecStart=3D/usr/bin/pgbouncer -d -v ${BOUNCERCONF} >=20 > If I change that to >=20 > [Service] > Type=3Dsimple >=20 > ... >=20 > ExecStart=3D/usr/bin/pgbouncer -v ${BOUNCERCONF} >=20 > it works >=20 > Alternatively, the first version can be made to work by adding > RemainAfterExit=3Dyes. >=20 > But clearly, the second version is more in line with the systemd philosop= hy. Thanks for the report. I picked up second way, and committed to git. Regards, --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-fShVI8eMrTqxg8BBj4IZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVUnAeAAoJENjDPf6Sz261fMcP/09ve+rME8abXOm5Ayg73gC5 lyFsPyDoY/50t4b3T8Xzb8h+Uc9G3uev+B3UZqNQUJaK7n08HeuECHL9QxD9e0m0 SG+XoC9LrJz9EUW25t4bQHyofPC75dZMn9MoIQW9j6/8IlBVmiokoU60uNV49fRf CIF12zV/Rr0VLwVGkoiysSKewsew6YXYqJ4luNkvH/3U7EijkppQVXeX7OfJnw4R ckkSRR2aFjuh/7lOFtZ28oylJTuiGH7rn4CbJPOU9fzlUg1xm+6vlnfzO/knEARZ 4/Byw+qfGlfDq3jZUvgIafn5KOddkH4RXOAEqiIfB/D0DWxumPr2shc62oVLGPxA UehxpZmXOqXKqkRj3nq4hlJVZ4+Dr+m/JV9BHpyHH1510+lLgR7OOqSNv1AqaJQe W7q/Gy4DepUQUegj2/KTJFuYhiAbuTc2xrT0GFFiOqvm0kwPo9fk2kGY8NIUDDOp NdETZDucwD3IGosdTWz3Hi4hO+GPtIxAjjJBh7Xodqe6VPGG9cuRge7e9D5Syb/4 lWoQBMOinwTStxV1Ia2f5TL6uLMBCYKJg+uN41/zfscjRfEysNi9wwl8Yy+XvFiL TvhpGhGaArYIdXG3UpK+WovWEW49bxhfX+0AfagwRheCE5ib4T+/cpDbQcXZm+x3 AD9ha4fvPW0NA94kzgv1 =Xk2W -----END PGP SIGNATURE----- --=-fShVI8eMrTqxg8BBj4IZ--