trove/integration/scripts/files/elements/ubuntu-xenial-postgresql/install.d/31-fix-init-script

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