From: Michael Nosthoff Date: Wed, 16 Sep 2020 15:35:10 +0000 (+0200) Subject: package/postgresql: remove PIDFile from .service X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9bc0024b6f79a59537a48e64d71a78b73175561;p=buildroot.git package/postgresql: remove PIDFile from .service 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 Signed-off-by: Thomas Petazzoni --- 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