#!/usr/bin/env bash

cat /tmp/pg_hba.conf > /var/lib/postgresql/data/pg_hba.conf
cat /tmp/postgresql.conf > /var/lib/postgresql/data/postgresql.conf

echo "Custom pg_hba.conf and postgresql.conf successfully deployed."