This commit is contained in:
Richard Sperry 2025-04-16 22:25:54 -07:00
parent 73f9d42a2d
commit 15a9a76f70
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,8 @@
# Runs the code-server
# ==============================================================================
bashio::log.info 'Starting code-server...'
source "../paths.sh"
# shellcheck source=../paths.sh
source "/etc/s6-overlay/s6-rc.d/paths.sh"
# Export env variables for the Home Assistant extension
export HASS_SERVER="http://supervisor/core"
export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"

View file

@ -5,6 +5,7 @@
# Sets up code-server.
# ==============================================================================
bashio::log.info "Initalizing code-server configs"
# shellcheck source=../paths.sh
source "/etc/s6-overlay/s6-rc.d/paths.sh"
# List of previous config hashes, to allow upgrade "default" configs.