diff --git a/webtrees/rootfs/etc/cont-init.d/99-run.sh b/webtrees/rootfs/etc/cont-init.d/99-run.sh index 03441dc56..f7d996f30 100755 --- a/webtrees/rootfs/etc/cont-init.d/99-run.sh +++ b/webtrees/rootfs/etc/cont-init.d/99-run.sh @@ -151,7 +151,7 @@ cd /var2/www/webtrees || exit 1 chmod +x /etc/scripts/launcher.sh sed -i "s|%%data_location%%|${DATA_LOCATION}|g" /etc/scripts/launcher.sh sed -i "s|%%base_url%%|${BASE_URL}|g" /etc/scripts/launcher.sh -sed -i "/Starting Apache/a\ subprocess.run('/etc/scripts/launcher.sh', shell=True, check=True)" /docker-entrypoint.py +sed -i "/Starting Apache/a\ subprocess.run('/usr/lib/bashio/bashio /etc/scripts/launcher.sh', shell=True, check=True)" /docker-entrypoint.py bashio::log.info "Starting docker-entrypoint.py" python3 /docker-entrypoint.py