[Buildroot] [PATCH v3 8/8] package/postgresql: remove PIDFile from .service
Michael Nosthoff
buildroot at heine.tech
Wed Sep 16 15:35:10 UTC 2020
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>
---
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
--
2.25.1
More information about the buildroot
mailing list