From 8666b1ae541e4bfd10a0c2d381dbcd281d94af64 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:18:46 +0200 Subject: [PATCH] Update 99-run.sh --- webtrees/rootfs/etc/cont-init.d/99-run.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/webtrees/rootfs/etc/cont-init.d/99-run.sh b/webtrees/rootfs/etc/cont-init.d/99-run.sh index b113479bb..8a7d8bfde 100644 --- a/webtrees/rootfs/etc/cont-init.d/99-run.sh +++ b/webtrees/rootfs/etc/cont-init.d/99-run.sh @@ -118,11 +118,6 @@ if [ -f "$WEBTREES_HOME"/data/config.ini.php ]; then sed -i "$LINE d" "$WEBTREES_HOME"/data/config.ini.php fi || true -# Execute main script -echo "python3 /docker-entrypoint.py" -cd / -python3 /docker-entrypoint.py & echo "Starting" - ############ # END INFO # ############ @@ -132,4 +127,7 @@ DB_NAME=$(echo "$DB_NAME" | tr -d '"') bashio::log.info "Data is stored in $WEBTREES_HOME" bashio::log.info "Webui can be accessed at : $BASE_URL" -#exec apache2-foreground +# Execute main script +echo "python3 /docker-entrypoint.py" +cd / +python3 /docker-entrypoint.py