Update 99-run.sh

This commit is contained in:
Alexandre
2025-01-22 08:35:50 +01:00
committed by GitHub
parent e0d49b4329
commit 8199c9a84a

View File

@@ -35,14 +35,15 @@ cd /config || true
bashio::log.info "Starting the app"
# Start background tasks
if [ "$(bashio::info.arch)" != "armv7" ]; then
# /./docker-entrypoint-initdb.d/10-vector.sh & true
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so -c search_path="public, vectors" & true
else
if [ "$(bashio::info.arch)" = "armv7" ]; then
bashio::log.warning "ARMv7 detected: Starting without vectors.so"
docker-entrypoint.sh postgres & true
exit 0
fi
# If not armv7
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so -c search_path="public, vectors" & true
####################
# Enable vector.rs #
####################