Update 99-run.sh

This commit is contained in:
Alexandre
2023-05-28 08:07:57 +02:00
committed by GitHub
parent 11efe5d358
commit b5922703b6

View File

@@ -4,6 +4,7 @@
# Use new config file
CONFIG_HOME="$(bashio::config "CONFIG_LOCATION")"
CONFIG_HOME="$(dirname "$CONFIG_HOME")"
mkdir -p "$CONFIG_HOME"
if [ ! -f "$CONFIG_HOME"/postgresql.conf.sample ]; then
# Copy default config.env
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then