Update path (#88)

This commit is contained in:
Aidan Timson 2021-02-19 19:12:03 +00:00 committed by GitHub
parent 7fa92508f4
commit 9f35fc8e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -15,8 +15,8 @@ key=$(cat /data/secret.txt)
# Set secret to persistent secret file
bashio::log.info "Update secret in config"
sed -i "s#API_AUTH_SECRET#${key}#g" /opt/panel/backend/config/default.json
sed -i "s#API_AUTH_SECRET#${key}#g" /opt/panel/config/default.json
# Set database to /data
bashio::log.info "Update database path in config"
sed -i "s#../db#/data#g" /opt/panel/backend/config/default.json
sed -i "s#../db#/data#g" /opt/panel/config/default.json

View file

@ -5,7 +5,7 @@
# ==============================================================================
bashio::log.info "Run Home Panel.."
cd /opt/panel/backend \
cd /opt/panel \
|| bashio::exit.nok "Could not change into app directory"
SUPPRESS_URL="true"