Update config location:

This commit is contained in:
Franck Nijhof 2024-09-27 22:48:36 +02:00
parent 4d4ba7ec03
commit e4de1908f6
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
2 changed files with 1 additions and 4 deletions

View file

@ -4,7 +4,6 @@
# Home Assistant Community Add-on: Studio Code Server
# 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_service="${1}"
readonly exit_code_signal="${2}"

View file

@ -17,9 +17,7 @@ for dir in "${DIRECTORIES[@]}"; do
done
# Some links to old locations, to not mess with the user's muscle memory
ln -s "/homeassistant" "/config" \
|| bashio::log.warning "Failed linking common directory: /config"
ln -s "/homeassistant" "${HOME}/config" \
ln -s "/config" "${HOME}/config" \
|| bashio::log.warning "Failed linking common directory: ${HOME}/config"
# Store SSH settings in add-on data folder