mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
changed code-server run
This commit is contained in:
parent
9bdff436e7
commit
4cdc77f77d
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue