mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 99-run.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user