Merge "Fix 31-fix-init-script for Postgresql"

This commit is contained in:
Zuul 2019-08-16 01:45:05 +00:00 committed by Gerrit Code Review
commit 214a6a0b1f

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