package/postgresql: remove PIDFile from .service
commit eada187e77
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>
This commit is contained in:
parent
e97fe4f28c
commit
a9bc0024b6
@ -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
Block a user