mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 17:51:49 +02:00
Update 99-run.sh
This commit is contained in:
@@ -61,7 +61,7 @@ echo " "
|
|||||||
|
|
||||||
# Add docker-entrypoint command
|
# Add docker-entrypoint command
|
||||||
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
if [ "$(bashio::info.arch)" != "armv7" ]; then
|
||||||
sed -i "/exec \"\$@\"/i psql \"postgres://$DB_USERNAME:$DB_PASSWORD@$DB_HOSTNAME:$DB_PORT\" < setup_postgres.sql || true" docker-entrypoint.sh
|
sed -i "/exec \"\$@\"/i psql \"postgres://$DB_USERNAME:$DB_PASSWORD@$DB_HOSTNAME:$DB_PORT\" < setup_postgres.sql || true" /usr/local/bin/docker-entrypoint.sh
|
||||||
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 architecture is armv7, pgvecto.rs is disabled as not supported"
|
bashio::log.warning "Your architecture is armv7, pgvecto.rs is disabled as not supported"
|
||||||
|
|||||||
Reference in New Issue
Block a user