Re: [GENERAL] iso-8859-1 lvalue 'PIDFILE' in section 'Service' - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] iso-8859-1 lvalue 'PIDFILE' in section 'Service'
Date
Msg-id b2903598-fbab-dc6d-9865-6b4353cb9cf4@aklaver.com
Whole thread Raw
In response to [GENERAL] iso-8859-1 lvalue 'PIDFILE' in section 'Service'  (marcelo <marcelo.nicolet@gmail.com>)
Responses Re: [GENERAL] iso-8859-1 lvalue 'PIDFILE' in section 'Service'
List pgsql-general
On 06/28/2017 05:06 AM, marcelo wrote:
> Hi
>
> Today I installed postgresql 9.4 on Lubuntu 15.04 from the
> EnterpriseDB's package.
>
> I modified pg_hba.conf to accept connections from the local network, and
> tried to start the backend. It do not; looking the log, I can see the
> message I copied to the subject. The full log entry is
> [/lib/systemd/system/postgresql-9.4.service:12] Unknown lvalue 'PIDFILE'
> in section 'Service'
>
> But the corresponding entry in
> /lib/systemd/system/postgresql-9.4.service shows
> PIDFILE=/opt/PostgreSQL/9.4/data/postmaster.pid which is perfectly
> valid, because the
> data dir is Environment=PGDATA=/opt/PostgreSQL/9.4/data
>
> What is going wrong?

I am no systemd expert by any means, but I have to believe that it
should be:

Environment=PIDFILE=/opt/PostgreSQL/9.4/data/postmaster.pid



>
> TIA
>
> Marcelo
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: marcelo
Date:
Subject: [GENERAL] iso-8859-1 lvalue 'PIDFILE' in section 'Service'
Next
From: gmb
Date:
Subject: [GENERAL] CREATE TABLE & composite type