Re: PostgreSQL systemd config scheme change

2014-07-07 Thread Lennart Poettering
On Mon, 07.07.14 17:07, Pavel Raiskup (prais...@redhat.com) wrote: > On Monday 07 of July 2014 15:57:30 Lennart Poettering wrote: > > On Mon, 07.07.14 14:48, Pavel Raiskup (prais...@redhat.com) wrote: > > > > I'd always advise against inventing addition configuration files that > > > > are neither

Re: PostgreSQL systemd config scheme change

2014-07-07 Thread Pavel Raiskup
On Monday 07 of July 2014 15:57:30 Lennart Poettering wrote: > On Mon, 07.07.14 14:48, Pavel Raiskup (prais...@redhat.com) wrote: > > > I'd always advise against inventing addition configuration files that > > > are neither the daemons own, nor systemd's. > > > > I hope we can call this as a system

Re: PostgreSQL systemd config scheme change

2014-07-07 Thread Lennart Poettering
On Mon, 07.07.14 14:48, Pavel Raiskup (prais...@redhat.com) wrote: > > On Friday 04 of July 2014 00:09:03 Lennart Poettering wrote: > > On Mon, 23.06.14 16:23, Pavel Raiskup (prais...@redhat.com) wrote: > > > $ cat /etc/postgresql/postgresql@com_example > > > PGDATA=/some/path/pg/com_example

Re: PostgreSQL systemd config scheme change

2014-07-07 Thread Pavel Raiskup
On Friday 04 of July 2014 00:09:03 Lennart Poettering wrote: > On Mon, 23.06.14 16:23, Pavel Raiskup (prais...@redhat.com) wrote: > > $ cat /etc/postgresql/postgresql@com_example > > PGDATA=/some/path/pg/com_example > > PGPORT=@SOMEPORT@ > > $ systemctl start postgresql@com_example > > > >

Re: PostgreSQL systemd config scheme change

2014-07-03 Thread Lennart Poettering
On Thu, 03.07.14 19:11, Tom Lane (t...@sss.pgh.pa.us) wrote: > > Lennart Poettering writes: > > Please migrate away from ".include", please use .d/ drop-ins instead. We > > kinda are deprecating ".include", only support it for compatibility > > instead. ... > > Unit files are configuration file

Re: PostgreSQL systemd config scheme change

2014-07-03 Thread Lennart Poettering
On Mon, 23.06.14 16:23, Pavel Raiskup (prais...@redhat.com) wrote: > Hello all, > > there is currently not so much things to configure in PostgreSQL from > systemd's service point of view (not taking postgresql.conf into account), > concretely, we configure PGPORT and PGDATA, from which the later

Re: PostgreSQL systemd config scheme change

2014-06-25 Thread Devrim Gündüz
Hi, On Tue, 2014-06-24 at 06:36 -0400, Pavel Raiskup wrote: > I think that the part of README.rpm-dist from postgresql9{3,4} is > outdated as those parts describe SysV initscripts. Devrim? Could be. I'll spend some cycles soon to fix these, while polishing RHEL 7 RPMs. > Btw., that /etc/postgr

Re: PostgreSQL systemd config scheme change

2014-06-24 Thread Pavel Raiskup
Argh, it is quite painful to keep all CC's in loop :(. I suppose that something is broken with this list. Both of email replies missed my MAILBOX and both have trimmed CC lists. Trying to reattach but not giving it a big chance. > - Original Message - > From: Florian Weimer > > On 0

Re: PostgreSQL systemd config scheme change

2014-06-23 Thread Darin Perusich
On Mon, Jun 23, 2014 at 3:00 PM, Florian Weimer wrote: > On 06/23/2014 04:23 PM, Pavel Raiskup wrote: >> >> What seems to be better approach is to have real configuration file, such >> one >> for which '$ rpm -qc postgresql-server' would not be quiet. Lets say: >> >>$ cat /etc/postgresql/post

Re: PostgreSQL systemd config scheme change

2014-06-23 Thread Florian Weimer
On 06/23/2014 04:23 PM, Pavel Raiskup wrote: What seems to be better approach is to have real configuration file, such one for which '$ rpm -qc postgresql-server' would not be quiet. Lets say: $ cat /etc/postgresql/postgresql PGDATA=/some/other/place/than/default I think for Fedora, the

PostgreSQL systemd config scheme change

2014-06-23 Thread Pavel Raiskup
Hello all, there is currently not so much things to configure in PostgreSQL from systemd's service point of view (not taking postgresql.conf into account), concretely, we configure PGPORT and PGDATA, from which the later is important (and often re-configured to point e.g. to some dedicated mount p