This commit is contained in:
Richard Sperry 2025-04-16 22:50:57 -07:00
parent 1abe78e0d8
commit bb37cb1323
2 changed files with 1 additions and 4 deletions

View file

@ -15,6 +15,5 @@ source "$parent_path/paths.sh"
export HASS_SERVER="http://supervisor/core"
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
# Run the code server
exec code-server "$CODE_SERVER_WORKSPACE_FILE"

View file

@ -6,10 +6,8 @@
# ==============================================================================
bashio::log.info "Initalizing code-server configs"
caller_dir=$(dirname "$(readlink -f "$0")")
parent_path=../../$caller_dir
# shellcheck source=../paths.sh
source "$parent_path/paths.sh"
source "/etc/s6-overlay/s6-rc.d/init/paths.sh"
# List of previous config hashes, to allow upgrade "default" configs.
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/custom"