Fix 31-fix-init-script for Postgresql

Ironically the fix is never applied as the systemd file uses
/run not /var/run.

Change-Id: Ie6022a13c181f5c27e19b54bd49d9a77c90dc1ac
This commit is contained in:
Mark Kirkwood 2019-07-31 12:42:42 +12:00 committed by Lingxian Kong
parent 7b3483723a
commit 7d2e986778
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
set -e
set -o xtrace
sed -i "s/PIDFile=\/var\/run\/postgresql\/%i.pid/PIDFile=\/var\/run\/postgresql\/postgresql.pid/" /lib/systemd/system/postgresql@.service
sed -i "s/PIDFile=\/run\/postgresql\/%i.pid/PIDFile=\/var\/run\/postgresql\/postgresql.pid/" /lib/systemd/system/postgresql@.service