public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgbouncer systemd does not work on CentOS 7
Date: Wed, 06 May 2015 15:52:37 -0400
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>

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.



-- 
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum



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]
  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