mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
Update 99-run.sh
This commit is contained in:
@@ -44,15 +44,12 @@ function shutdown_postgres {
|
|||||||
|
|
||||||
# Start background tasks
|
# Start background tasks
|
||||||
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
||||||
/./docker-entrypoint-initdb.d/10-vector.sh &
|
/./docker-entrypoint-initdb.d/10-vector.sh & VECTOR_PID=$!
|
||||||
VECTOR_PID=$!
|
|
||||||
|
|
||||||
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so &
|
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so & POSTGRES_PID=$!
|
||||||
POSTGRES_PID=$!
|
|
||||||
else
|
else
|
||||||
bashio::log.warning "ARMv7 detected: Starting without vectors.so"
|
bashio::log.warning "ARMv7 detected: Starting without vectors.so"
|
||||||
docker-entrypoint.sh postgres &
|
docker-entrypoint.sh postgres & POSTGRES_PID=$!
|
||||||
POSTGRES_PID=$!
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::log.info "Started!"
|
bashio::log.info "Started!"
|
||||||
|
|||||||
Reference in New Issue
Block a user