Skip to content

Commit

Permalink
[fix][cli] Fix start cli error (apache#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc authored and imbajin committed Nov 23, 2022
1 parent a443d77 commit d422616
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hugegraph-dist/src/assembly/static/bin/hugegraph
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@
### END INIT INFO

# Variables
# it requires user to set a fixed abs path manually
INSTALL_DIR=
SERVER_PORT=

${INSTALL_DIR:?"Please set variables 'INSTALL_DIR'"}
${SERVER_PORT:?"Please set variables 'SERVER_PORT'"}

BIN_DIR=$INSTALL_DIR/bin
SERVER_URL="http://localhost:${SERVER_PORT}"
DETECT_URL="$SERVER_URL/versions"
Expand Down

0 comments on commit d422616

Please sign in to comment.