[Buildroot] [git commit branch/2020.02.x] package/postgresql: remove PIDFile from .service

Peter Korsgaard peter at korsgaard.com
Mon Sep 28 20:56:28 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=15689a10b66c77e8b93fd9aa78b09001dcac3297
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

commit eada187e77022f0d changed the service to Type=notify.
notify units don't need a PIDFile so this can be removed.

Signed-off-by: Michael Nosthoff <buildroot at heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit a9bc0024b6f79a59537a48e64d71a78b73175561)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/postgresql/postgresql.service | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/postgresql/postgresql.service b/package/postgresql/postgresql.service
index 53e6f84f00..539eea8964 100644
--- a/package/postgresql/postgresql.service
+++ b/package/postgresql/postgresql.service
@@ -15,7 +15,6 @@ Group=postgres
 StandardOutput=syslog
 StandardError=syslog
 SyslogIdentifier=postgres
-PIDFile=/var/lib/pgsql/postmaster.pid
 
 ExecStartPre=/bin/sh -c "if [ ! -f /var/lib/pgsql/PG_VERSION ]; then /usr/bin/pg_ctl initdb -D /var/lib/pgsql; fi"
 ExecStart=/usr/bin/postgres -D /var/lib/pgsql


More information about the buildroot mailing list