Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcYd3-0001Xf-4s for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 17 Sep 2015 12:49:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZcYd2-0000KF-7Z for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 17 Sep 2015 12:49:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZcYd1-0000K8-Sr for pgsql-pkg-yum@postgresql.org; Thu, 17 Sep 2015 12:49:31 +0000 Received: from dd2030.kasserver.com ([85.13.128.37]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZcYcq-0007BF-Rd for pgsql-pkg-yum@postgresql.org; Thu, 17 Sep 2015 12:49:31 +0000 Received: from [172.26.14.170] (wan1.credativ.com [87.139.82.80]) by dd2030.kasserver.com (Postfix) with ESMTPSA id 3D2DAE6BFF; Thu, 17 Sep 2015 14:49:17 +0200 (CEST) Date: Thu, 17 Sep 2015 14:49:17 +0200 From: Bernd Helmle To: Jeff Frost cc: pgsql-pkg-yum@postgresql.org Subject: Re: systemd service files vs. postgresql9x-setup Message-ID: <6BCC2B177DD8C95F954B4E1D@eje.credativ.lan> In-Reply-To: <0AC9AAC9-0B01-47E3-860F-620C5F0912F1@pgexperts.com> References: <0EDD19E44F05669CE0D68F45@eje.credativ.lan> <0AC9AAC9-0B01-47E3-860F-620C5F0912F1@pgexperts.com> X-Mailer: Mulberry/4.1.0a3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; size=838 X-Pg-Spam-Score: -2.6 (--) 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 --On 12. August 2015 16:54:41 -0700 Jeff Frost wrote: >> Opinions? >>=20 >> [1] >=20 > Unfortunately, I=E2=80=99m not that familiar with systemd yet and Devrim = is out > for a few weeks, so we might not get to this very quickly. So i'd like to step in again into this patch. We're working with a RHEL7 environment where those drop-in configurations are heavily used to move PGDATA to different places and i'd like to preserve that behavior. Recap: postgresql9[45]-setup happily overwrites any PGDATA setting derived from drop-in configurations by examining the service file directly and ignoring the previous retrieved setting from systemctl. So this looks worth to fix for any setups, even when other ways to setup PGDATA are used. --=20 Thanks Bernd --=20 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