Merge pull request #12880 from stefannica/use-exit-in-db-entrypoint

Use exec in harbor database entrypoint
This commit is contained in:
He Weiwei 2020-08-28 10:09:58 +08:00 committed by GitHub
commit 687043c298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,4 +117,4 @@ fi
POSTGRES_PARAMETER="${POSTGRES_PARAMETER} -c max_connections=${POSTGRES_MAX_CONNECTIONS}"
postgres -D $PGDATA $POSTGRES_PARAMETER
exec postgres -D $PGDATA $POSTGRES_PARAMETER