mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -29,8 +29,8 @@ chmod 777 "$PGDATA"
|
|||||||
# Permissions
|
# Permissions
|
||||||
chmod -R 777 "$CONFIG_HOME"
|
chmod -R 777 "$CONFIG_HOME"
|
||||||
|
|
||||||
# Copy new file
|
# Copy new config
|
||||||
cp "$CONFIG_HOME"/postgresql.conf /data/
|
# cp "$CONFIG_HOME"/postgresql.conf /config/
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# Launch App #
|
# Launch App #
|
||||||
@@ -45,4 +45,8 @@ echo " "
|
|||||||
|
|
||||||
# Add docker-entrypoint command
|
# Add docker-entrypoint command
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
docker-entrypoint.sh postgres
|
if bashio::config.true "vector.rs_enabled"; then
|
||||||
|
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so
|
||||||
|
else
|
||||||
|
docker-entrypoint.sh postgres
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user