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

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 ([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], [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