Mark Kirkwood 7d2e986778 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
2019-08-14 22:09:56 +00:00

8 lines
167 B
Bash
Executable File

#!/bin/sh
set -e
set -o xtrace
sed -i "s/PIDFile=\/run\/postgresql\/%i.pid/PIDFile=\/var\/run\/postgresql\/postgresql.pid/" /lib/systemd/system/postgresql@.service