Update 99-run.sh

This commit is contained in:
Alexandre
2024-12-05 06:39:22 +01:00
committed by GitHub
parent 3f3770d35d
commit 555685e931

View File

@@ -44,15 +44,12 @@ function shutdown_postgres {
# Start background tasks
if [ "$(bashio::info.arch)" != "armv7" ]; then
/./docker-entrypoint-initdb.d/10-vector.sh &
VECTOR_PID=$!
/./docker-entrypoint-initdb.d/10-vector.sh & VECTOR_PID=$!
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so &
POSTGRES_PID=$!
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so & POSTGRES_PID=$!
else
bashio::log.warning "ARMv7 detected: Starting without vectors.so"
docker-entrypoint.sh postgres &
POSTGRES_PID=$!
docker-entrypoint.sh postgres & POSTGRES_PID=$!
fi
bashio::log.info "Started!"