Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq5N9-0004Xf-35 for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 06 May 2015 19:52:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yq5N8-0007YI-D7 for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 06 May 2015 19:52:46 +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 1Yq5N7-0007Wn-60 for pgsql-pkg-yum@postgresql.org; Wed, 06 May 2015 19:52:45 +0000 Received: from mout.gmx.net ([212.227.15.15]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1Yq5N4-0000yz-8t for pgsql-pkg-yum@postgresql.org; Wed, 06 May 2015 19:52:44 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lw2Sj-1ZK5Yr0ww9-017nSt for ; Wed, 06 May 2015 21:52:40 +0200 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 84333212CE for ; Wed, 6 May 2015 15:52:38 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 06 May 2015 15:52:38 -0400 X-Sasl-enc: HdAVWcmhwNL311HazPtq33qYCOSl0vujqHAl20JhNSxy 1430941958 Received: from [192.168.1.147] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 414E66801BD for ; Wed, 6 May 2015 15:52:38 -0400 (EDT) Message-ID: <554A7105.1050002@gmx.net> Date: Wed, 06 May 2015 15:52:37 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: pgsql-pkg-yum@postgresql.org Subject: pgbouncer systemd does not work on CentOS 7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Q368CLCwbkEWQlLRM7ndckIbpNxkMEn5jr0FPKND2ZUkephGWKM pl+EO62xD5SCKSsVcwnjnjyCglcahtAAHjGIgk6XyhOAaUTRmb9QpqTcV9m8U/bJGEsLS+M 2lTu0JdobxAk5NzVaWYj+peK8efZEOJ4y7KTUuge1Pcg2v9Rqy1DhzIrkj8cFj7dIrVEMuD itOUEkUDgbVDVPvmaz18A== X-UI-Out-Filterresults: notjunk:1; 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 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 (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum