Re: systemd service files vs. postgresql9x-setup - Mailing list pgsql-pkg-yum

From Devrim GÜNDÜZ
Subject Re: systemd service files vs. postgresql9x-setup
Date
Msg-id 1442584089.30698.43.camel@gunduz.org
Whole thread Raw
In response to Re: systemd service files vs. postgresql9x-setup  (Bernd Helmle <mailings@oopsware.de>)
Responses Re: systemd service files vs. postgresql9x-setup
List pgsql-pkg-yum
Hi Bernd,

First of all: Thanks for the patch!

The next set of new minor releases are due in a few weeks. I think we
can apply this patch then.

(We need a issue tracker!)


Regards, Devrim
On Thu, 2015-09-17 at 14:49 +0200, Bernd Helmle wrote:
>
> --On 12. August 2015 16:54:41 -0700 Jeff Frost <jeff@pgexperts.com>
> wrote:
>
> > > Opinions?
> > >
> > > [1] <
> > > http://www.freedesktop.org/software/systemd/man/systemd.unit.html
> > > >
> >
> > Unfortunately, I’m 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.
>
> --
> Thanks
>
>     Bernd
>
>

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR





pgsql-pkg-yum by date:

Previous
From: Andrew N Golovkov
Date:
Subject: Re: init script for pgpool
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Rsync of full yum mirror