Update start.sh

This commit is contained in:
Alexandre
2021-10-22 23:22:44 +02:00
committed by GitHub
parent 69d24dcb83
commit 2bcd09256a

View File

@@ -51,6 +51,7 @@ if [ $DB_TYPE = "sqlite" ]; then
export WT_NAME=$(bashio::config 'WT_NAME')
export WT_PASS=$(bashio::config 'WT_PASS')
export WT_EMAIL=$(bashio::config 'WT_EMAIL')
bashio::log.info "Using a local sqlite database $WEBTREES_HOME/$DB_NAME please wait then login with $WT_USER : $WT_PASS"
fi
################
@@ -101,7 +102,6 @@ cd /
DB_NAME=$(echo $DB_NAME | tr -d '"')
bashio::log.info "Starting apache, using database $WEBTREES_HOME/$DB_NAME please wait then login with $WT_USER : $WT_PASS"
bashio::log.info "Webui can be accessed at : $BASE_URL"
exec apache2-foreground