From: | Tory M Blue <tmblue(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: 9.5 CentOS 7 setting PGDATA for systemctl |
Date: | 2016-05-22 21:45:56 |
Message-ID: | CAEaSS0bn=AuDBmZf1kyPy1TLLT7_+y_nZ0e3ZFRtxEM-8R20fQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, May 22, 2016 at 9:10 AM, Adrian Klaver
<adrian(dot)klaver(at)aklaver(dot)com> wrote:
> On 05/22/2016 09:06 AM, Tory M Blue wrote:
>>
>>
>>
>>
>>> On May 22, 2016, at 07:50, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
>>> wrote:
>>>
>
>>>
>>> So where did you get the 'stock' RPM's from, CentOS or the Postgres
>>> repos?
>>
>>
>> Postgres yum repos (I like this btw)
>
>
>
> I do not use CentOS myself, so I will point you at this:
>
> http://people.planetpostgresql.org/devrim/index.php?/archives/80-Installing-and-configuring-PostgreSQL-9.3-and-9.4-on-RHEL-7.html
>
>
Thanks Adrian, had not seen that page, so I modified my image , moving
some files around, having them modified and it's working as I
expected.. w0w convoluted, but this works.
"As of RHEL 7, as done in the Fedora packages for two years, the unit
files are located under /lib/systemd/system/ directory. Please do not
edit these files directly. Instead, if you want to make any changes,
create a copy of them under /etc/systemd/system/ , and edit those
files. Run"
# Location of database directory
Environment=PGDATA=/pgsql/9.5/data
Thanks again!
Tory
From | Date | Subject | |
---|---|---|---|
Next Message | Venkata Balaji N | 2016-05-23 04:07:29 | Re: postgresql-9.5.3 compilation on Solaris SPARC |
Previous Message | Adrian Klaver | 2016-05-22 16:10:54 | Re: 9.5 CentOS 7 setting PGDATA for systemctl |