Update 99-run.sh

This commit is contained in:
Alexandre
2022-07-01 22:42:46 +02:00
committed by GitHub
parent 7e00388db7
commit c1444c097f

View File

@@ -58,14 +58,6 @@ case $(bashio::config 'DB_TYPE') in
sed -i "1a export POSTGRES_PASSWORD=$(bashio::services "mysql" "password")" /opt/recipes/boot.sh && bashio::log.blue "POSTGRES_PASSWORD=$POSTGRES_PASSWORD"
sed -i "1a export POSTGRES_DB=tandoor" /opt/recipes/boot.sh && bashio::log.blue "POSTGRES_DB=tandoor"
sed -i "s|\${DB_ENGINE}|${DB_ENGINE|g" /opt/recipes/boot.sh
sed -i "s|\${POSTGRES_HOST}|${POSTGRES_HOST}|g" /opt/recipes/boot.sh
sed -i "s|\${POSTGRES_PORT}|${POSTGRES_PORT}|g" /opt/recipes/boot.sh
sed -i "s|\${POSTGRES_USER}|${POSTGRES_USER}|g" /opt/recipes/boot.sh
sed -i "s|\${POSTGRES_PASSWORD}|${POSTGRES_PASSWORD}|g" /opt/recipes/boot.sh
sed -i "s|\${POSTGRES_DB}|${POSTGRES_DB}|g" /opt/recipes/boot.sh
bashio::log.warning "This addon is using the Maria DB addon"
bashio::log.warning "Please ensure this is included in your backups"
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"