From b5dd975ad171a42f6f59a2cb05a6a76e735cf58e Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 15 Nov 2015 13:02:50 +0530 Subject: [PATCH] removed redundant chown of `PG_CONFDIR` --- entrypoint.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6e6d42b..af449a8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -128,9 +128,6 @@ if [[ -n ${PG_OLD_VERSION} ]]; then -O "-c config_file=${PG_CONFDIR}/postgresql.conf --hba_file=${PG_CONFDIR}/pg_hba.conf --ident_file=${PG_CONFDIR}/pg_ident.conf" >/dev/null fi -# fix ownership of ${PG_CONFDIR} (may be necessary if USERMAP_* was set) -chown -R ${PG_USER}:${PG_USER} ${PG_CONFDIR} - if [[ ${PSQL_SSLMODE} == disable ]]; then sed 's/ssl = true/#ssl = true/' -i ${PG_CONFDIR}/postgresql.conf fi