Update 99-run.sh

This commit is contained in:
Alexandre
2024-01-31 09:04:12 +01:00
committed by GitHub
parent 0125740981
commit fee46c153e

View File

@@ -44,9 +44,9 @@ bashio::log.info "Starting the app"
echo " "
# Add docker-entrypoint command
# shellcheck disable=SC2086
if bashio::config.true "vector.rs_enabled"; then
if "$(bashio::info.arch)" != "armv7"; then
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so
else
bashio::log.warning "Your architectur is armv7, vector.rs is disabled as not supported"
docker-entrypoint.sh postgres
fi