mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-14 03:21:30 +02:00
Update 99-run.sh
This commit is contained in:
@@ -44,9 +44,9 @@ bashio::log.info "Starting the app"
|
|||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
# Add docker-entrypoint command
|
# Add docker-entrypoint command
|
||||||
# shellcheck disable=SC2086
|
if "$(bashio::info.arch)" != "armv7"; then
|
||||||
if bashio::config.true "vector.rs_enabled"; then
|
|
||||||
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so
|
docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so
|
||||||
else
|
else
|
||||||
|
bashio::log.warning "Your architectur is armv7, vector.rs is disabled as not supported"
|
||||||
docker-entrypoint.sh postgres
|
docker-entrypoint.sh postgres
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user