Merge pull request #202 from p0123n/master
Update generated "pg_hba.conf" content for IPv6 support
This commit is contained in:
commit
819476b9e0
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | su-exec postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ if [ "$1" = 'postgres' ]; then
|
||||||
authMethod=trust
|
authMethod=trust
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo; echo "host all all 0.0.0.0/0 $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
{ echo; echo "host all all all $authMethod"; } | gosu postgres tee -a "$PGDATA/pg_hba.conf" > /dev/null
|
||||||
|
|
||||||
# internal start of server in order to allow set-up using psql-client
|
# internal start of server in order to allow set-up using psql-client
|
||||||
# does not listen on external TCP/IP and waits until start finishes
|
# does not listen on external TCP/IP and waits until start finishes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue