changed code-server run

This commit is contained in:
Richard Sperry 2025-04-14 00:06:44 -07:00
parent 9bdff436e7
commit 4cdc77f77d

View file

@ -9,7 +9,7 @@ declare config_path
bashio::log.info 'Starting code-server...'
options+=(--config="$CODE_SERVER_CONFIG_PATH/config.yaml")
options+=()
# options+=(--user-data-dir="$CODE_SERVER_CONFIG_PATH/User")
# options+=(--extensions-dir="$CODE_SERVER_CONFIG_PATH/extensions")
@ -29,5 +29,5 @@ export HASS_TOKEN="${SUPERVISOR_TOKEN:-}"
# Run the code server
cd "${CODE_SERVER_CONFIG_PATH}" || bashio::exit.nok "Could not change working directory"
exec code-server "${options[@]}" "/config"
exec code-server --config="$CODE_SERVER_CONFIG_PATH/config.yaml" "/config"