Unknown lvalue 'PIDFILE' in section 'Service'

From: marcelo <marcelo(dot)nicolet(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Unknown lvalue 'PIDFILE' in section 'Service'
Date: 2017-06-28 12:06:48
Message-ID: 46e2fc36-6359-4d4c-4ceb-d4424affd370@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

TIA

Marcelo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-06-28 13:17:54 Re: Unknown lvalue 'PIDFILE' in section 'Service'
Previous Message Swapnil Vaze 2017-06-28 08:28:24 Re: Accessing DB2 tables from postgresql