diff --git a/start b/start index 0d34518..7087036 100755 --- a/start +++ b/start @@ -32,11 +32,16 @@ cat >> ${PG_CONFDIR}/pg_hba.conf < ${PG_HOME}/pwfile + fi + echo "Initializing database..." - PG_PASSWORD=$(pwgen -c -n -1 14) - echo "${PG_PASSWORD}" > ${PG_HOME}/pwfile sudo -u postgres -H "${PG_BINDIR}/initdb" \ --pgdata="${PG_DATADIR}" --pwfile=${PG_HOME}/pwfile \ --username=postgres --encoding=unicode --auth=trust >/dev/null