mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 20:34:04 +02:00
Update run
This commit is contained in:
@@ -7,6 +7,11 @@ if bashio::config.true 'USE_EXTERNAL_DB'; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create folder structure
|
||||||
|
mkdir -p /run/postgresql
|
||||||
|
chown postgres:postgres /run/postgresql
|
||||||
|
chmod 775 /run/postgresql
|
||||||
|
|
||||||
# Persistent location
|
# Persistent location
|
||||||
PGDATA="${PGDATA:-/config/postgres-data}"
|
PGDATA="${PGDATA:-/config/postgres-data}"
|
||||||
export PGDATA
|
export PGDATA
|
||||||
|
|||||||
Reference in New Issue
Block a user