Update 99-run.sh

This commit is contained in:
Alexandre authored and GitHub committed 2025-01-06 09:25:11 +01:00
1 parent 39521d89bc
commit 594db13d5d
1 file changed
+1 -1
+1 -1
View File
@@ -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