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