From 7d2e986778d71e29dc18be53a89fae7db1c66cf3 Mon Sep 17 00:00:00 2001 From: Mark Kirkwood Date: Wed, 31 Jul 2019 12:42:42 +1200 Subject: [PATCH] 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 --- .../ubuntu-xenial-postgresql/install.d/31-fix-init-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script b/integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script index c454d83d14..35a6efb570 100755 --- a/integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script +++ b/integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script @@ -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