mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 02:31:34 +00:00
🔧 Update add-on paths, map directly to /config (#864)
This commit is contained in:
parent
e3e285969c
commit
269cdae869
3 changed files with 16 additions and 11 deletions
|
@ -19,13 +19,21 @@ hassio_api: true
|
||||||
hassio_role: manager
|
hassio_role: manager
|
||||||
homeassistant_api: true
|
homeassistant_api: true
|
||||||
map:
|
map:
|
||||||
- addons:rw
|
- type: addons
|
||||||
- all_addon_configs:rw
|
read_only: false
|
||||||
- backup:rw
|
- type: all_addon_configs
|
||||||
- homeassistant_config:rw
|
read_only: false
|
||||||
- media:rw
|
- type: backup
|
||||||
- share:rw
|
read_only: false
|
||||||
- ssl:rw
|
- type: homeassistant_config
|
||||||
|
read_only: false
|
||||||
|
path: /config
|
||||||
|
- type: media
|
||||||
|
read_only: false
|
||||||
|
- type: share
|
||||||
|
read_only: false
|
||||||
|
- type: ssl
|
||||||
|
read_only: false
|
||||||
services:
|
services:
|
||||||
- mysql:want
|
- mysql:want
|
||||||
- mqtt:want
|
- mqtt:want
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# Home Assistant Community Add-on: Studio Code Server
|
# Home Assistant Community Add-on: Studio Code Server
|
||||||
# Take down the S6 supervision tree when the code server fails
|
# Take down the S6 supervision tree when the code server fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
declare exit_code
|
|
||||||
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
|
readonly exit_code_container=$(</run/s6-linux-init-container-results/exitcode)
|
||||||
readonly exit_code_service="${1}"
|
readonly exit_code_service="${1}"
|
||||||
readonly exit_code_signal="${2}"
|
readonly exit_code_signal="${2}"
|
||||||
|
|
|
@ -17,9 +17,7 @@ for dir in "${DIRECTORIES[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Some links to old locations, to not mess with the user's muscle memory
|
# Some links to old locations, to not mess with the user's muscle memory
|
||||||
ln -s "/homeassistant" "/config" \
|
ln -s "/config" "${HOME}/config" \
|
||||||
|| bashio::log.warning "Failed linking common directory: /config"
|
|
||||||
ln -s "/homeassistant" "${HOME}/config" \
|
|
||||||
|| bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
|| bashio::log.warning "Failed linking common directory: ${HOME}/config"
|
||||||
|
|
||||||
# Store SSH settings in add-on data folder
|
# Store SSH settings in add-on data folder
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue