Update run.txt

This commit is contained in:
Alexandre
2023-01-03 13:52:44 +01:00
committed by GitHub
parent b8c3f33698
commit a4a326ce69

View File

@@ -1,6 +1,10 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
if [ ! -f /started ]; then
touch /started
####################
# Starting scripts #
####################
@@ -130,3 +134,7 @@ if bashio::config.true 'ssl'; then
if [ -f /app/Caddyfile ]; then sed -i "7 i tls /ssl/$CERTFILE /ssl/$KEYFILE" /app/Caddyfile; fi
if [ -f /app/frontend/Caddyfile ]; then sed -i "7 i tls /ssl/$CERTFILE /ssl/$KEYFILE" /app/frontend/Caddyfile; fi
fi
bashio::log.info "Starting app"
fi