Merge pull request #132 from knickers/master
Add POSTGRES_INITDB_ARGS env var
This commit is contained in:
commit
057673edb7
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ if [ "$1" = 'postgres' ]; then
|
|||
|
||||
# look specifically for PG_VERSION, as it is expected in the DB dir
|
||||
if [ ! -s "$PGDATA/PG_VERSION" ]; then
|
||||
gosu postgres initdb
|
||||
eval "gosu postgres initdb $POSTGRES_INITDB_ARGS"
|
||||
|
||||
# check password first so we can output the warning before postgres
|
||||
# messes it up
|
||||
|
|
|
|||
Loading…
Reference in New Issue