public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim Gündüz <[email protected]>
To: Peter Eisentraut <[email protected]>
Cc: [email protected]
Subject: Re: pgbouncer systemd does not work on CentOS 7
Date: Wed, 13 May 2015 00:26:54 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>


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.

Regards,

-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR



Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

view thread (5+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgbouncer systemd does not work on CentOS 7
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox