Update 99-run.sh

This commit is contained in:
Alexandre
2025-01-05 11:02:16 +01:00
committed by GitHub
parent b33a908ae1
commit eadb404fc3

View File

@@ -147,7 +147,7 @@ bashio::log.info "Data is stored in $DATA_LOCATION"
# Execute main script
source /etc/apache2/envvars
echo "python3 /docker-entrypoint.py"
cd /var2/www/webtrees
cd /var2/www/webtrees || exit 1
if [ ! -f "${DATA_LOCATION}/config.ini.php" ]; then
bashio::log.info "First boot : open the UI at $BASE_URL to access the start-up wizard"
python3 /docker-entrypoint.py