File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
1515
1616 # look specifically for PG_VERSION, as it is expected in the DB dir
1717 if [ ! -s " $PGDATA /PG_VERSION" ]; then
18- gosu postgres initdb
18+ eval " gosu postgres initdb $POSTGRES_INITDB_ARGS "
1919
2020 # check password first so we can output the warning before postgres
2121 # messes it up
You can’t perform that action at this time.
0 commit comments