Enable Ente CLI persistence and update docs
This commit is contained in:
5
start.sh
5
start.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user