From e355660fec46456a0c1d80ba9c1ab9eb8cc74741 Mon Sep 17 00:00:00 2001 From: dandelion Date: Wed, 23 Aug 2023 15:45:22 +0800 Subject: [PATCH] feat: pre-load some data in container(#840) --- hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh b/hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh index 361590777f..5a251ea8c2 100644 --- a/hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh +++ b/hugegraph-dist/src/assembly/static/bin/start-hugegraph.sh @@ -49,6 +49,11 @@ if [[ "$OPEN_SECURITY_CHECK" != "true" && "$OPEN_SECURITY_CHECK" != "false" ]]; exit 1 fi +if [[ "$PRELOAD" != "true" && "$PRELOAD" != "false" ]]; then + echo "USAGE: $0 [-d true|false] [-g g1] [-m true|false] [-p true|false] [-s true|false] [-j java_options]" + exit 1 +fi + function abs_path() { SOURCE="${BASH_SOURCE[0]}" while [[ -h "$SOURCE" ]]; do