mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update run
This commit is contained in:
@@ -6,9 +6,8 @@ if bashio::config.true 'USE_EXTERNAL_DB'; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export PGDATA=/data/postgres
|
||||
mkdir -p "$PGDATA"
|
||||
chown -R postgres:postgres /data
|
||||
chown -R postgres:postgres /config/postgres
|
||||
|
||||
if [[ ! -s "$PGDATA/PG_VERSION" ]]; then
|
||||
bashio::log.info "Initializing Postgres 17 data directory."
|
||||
|
||||
Reference in New Issue
Block a user