package/postgresql: remove PIDFile from .service
commit2020.08.xeada187e77
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> (cherry picked from commita9bc0024b6
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
parent
aa78ca567c
commit
9ecdaef761
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue