self-hosted/postgres/init_hba.sh
2022-10-21 13:46:35 -07:00

8 lines
170 B
Bash
Executable File

#!/bin/bash
# Initializes the pg_hba file with access permissions to the replication
# slots.
set -e
{ echo "host replication all all trust"; } >>"$PGDATA/pg_hba.conf"