mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-19 19:18:10 +01:00
Update 99-run.sh
This commit is contained in:
@@ -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 #
|
||||
####################
|
||||
|
||||
Reference in New Issue
Block a user