mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
🚑Change format of sed command, add logging (#33)
This commit is contained in:
parent
44ff20cc1a
commit
36c89daec8
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ fi
|
|||
key=$(cat /data/secret.txt)
|
||||
|
||||
# Set secret to persistent secret file
|
||||
sed -i "s/API_AUTH_SECRET/${key}/g" /opt/panel/config/default.json
|
||||
bashio::log.info "Update secret in config"
|
||||
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/config/default.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue