diff options
author | Mark Kirkwood <mark.kirkwood@catalyst.net.nz> | 2019-07-31 12:42:42 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-08-14 22:09:56 +0000 |
commit | 7d2e986778d71e29dc18be53a89fae7db1c66cf3 (patch) | |
tree | 4cfa134f06d68bdddca359bd329a8eea5ff9209c | |
parent | 7b3483723a5fdfa56a8cc419ad77c8660ac87ad1 (diff) | |
download | trove-7d2e986778d71e29dc18be53a89fae7db1c66cf3.tar.gz |
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
-rwxr-xr-x | integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script | 2 |
1 files changed, 1 insertions, 1 deletions
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 c454d83d..35a6efb5 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 |