changed init-cp run

This commit is contained in:
Richard Sperry 2025-04-15 15:57:02 -07:00
parent fa12aa66aa
commit 4e1eec6254

View file

@ -49,6 +49,7 @@ bashio::log.info "using code-server config path: $config_path"
if ! bashio::fs.file_exists "$CODE_SERVER_CONFIG"; then
# TODO check for correct perms
bashio::log.error "CODE_SERVER_CONFIG does not exist.."
mkdir -p "/root/.config/code-server"
cp "$DEFAULT_FILES_PATH/config.yaml" "$CODE_SERVER_CONFIG"
else
bashio::log.info "CODE_SERVER_CONFIG does exist"