Enable Ente CLI persistence and update docs

This commit is contained in:
2025-10-30 11:17:11 -06:00
parent f62914d566
commit 18d14d09df
6 changed files with 64 additions and 62 deletions

View File

@@ -518,6 +518,11 @@ if [ -d "$WEB_RUNTIME_DIR" ]; then
fi
log INFO "Ensuring CLI configuration"
CLI_DATA_DIR="$DATA_DIR/cli-data"
mkdir -p "$CLI_DATA_DIR"
chown cloudron:cloudron "$CLI_DATA_DIR"
chmod 700 "$CLI_DATA_DIR"
CLI_HOME="$DATA_DIR/home/.ente"
mkdir -p "$CLI_HOME"
cat > "$CLI_HOME/config.yaml" <<EOF_CLI