package/postgresql: remove PIDFile from .service
authorMichael Nosthoff <buildroot@heine.tech>
Wed, 16 Sep 2020 15:35:10 +0000 (17:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 Sep 2020 13:16:07 +0000 (15:16 +0200)
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@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/postgresql/postgresql.service

index 53e6f84f00fe10112ec45b10be28d8d45f0aab77..539eea8964157a1ad4656c37224b8dbd7adbdb14 100644 (file)
@@ -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