mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Update run
This commit is contained in:
@@ -35,5 +35,5 @@ if [[ ! -s "${PGDATA}/PG_VERSION" ]]; then
|
|||||||
su - postgres -c "$INITDB -D $PGDATA"
|
su - postgres -c "$INITDB -D $PGDATA"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exec su - postgres -c "$POSTGRES -D $PGDATA -c listen_addresses='127.0.0.1'" & \
|
||||||
bashio::log.info "Starting Postgres (127.0.0.1:5432)..."
|
bashio::log.info "Starting Postgres (127.0.0.1:5432)..."
|
||||||
exec su - postgres -c "$POSTGRES -D $PGDATA -c listen_addresses='127.0.0.1'"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user