diff --git a/home-panel/rootfs/etc/cont-init.d/secrets.sh b/home-panel/rootfs/etc/cont-init.d/secrets.sh index c89cc97..89c9707 100644 --- a/home-panel/rootfs/etc/cont-init.d/secrets.sh +++ b/home-panel/rootfs/etc/cont-init.d/secrets.sh @@ -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 diff --git a/home-panel/rootfs/etc/services.d/home-panel/run b/home-panel/rootfs/etc/services.d/home-panel/run index 02bcd8e..269699e 100644 --- a/home-panel/rootfs/etc/services.d/home-panel/run +++ b/home-panel/rootfs/etc/services.d/home-panel/run @@ -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"