public inbox for [email protected]
help / color / mirror / Atom feedFrom: 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: Tue, 22 Sep 2015 14:52:27 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>
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 ([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