#!/bin/bash echo "host replication all 0.0.0.0/0 trust" >> "$PGDATA/pg_hba.conf" pg_ctl reload