You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- #! /usr/bin/env bash
-
- if [ "${POSTGRES_MASTER_MODE}" != 1 ]
- then
- echo "Database is not in master mode. Exiting."
- exit 0
- fi
-
- cat <<-EOF >> /var/lib/postgresql/data/pg_hba.conf
- host replication ${POSTGRES_REP_USER} ${POSTGRES_REP_ALLOWED_HOST} md5
- EOF
|