From d92450877be7fcdffe65c4374fc671d78f438cb3 Mon Sep 17 00:00:00 2001 From: Dandelion Date: Fri, 13 Oct 2023 19:02:40 +0800 Subject: [PATCH] change detect script's filename --- Dockerfile | 2 +- .../scripts/{try-storage.groovy => detect-storage.groovy} | 0 hugegraph-dist/src/assembly/static/bin/wait-storage.sh | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename hugegraph-dist/docker/scripts/{try-storage.groovy => detect-storage.groovy} (100%) diff --git a/Dockerfile b/Dockerfile index ecbe3110e7..7dcbf2131f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,7 @@ RUN set -e \ # 3. Init docker script COPY hugegraph-dist/docker/scripts/remote-connect.groovy ./scripts -COPY hugegraph-dist/docker/scripts/try-storage.groovy ./scripts +COPY hugegraph-dist/docker/scripts/detect-storage.groovy ./scripts COPY hugegraph-dist/docker/docker-entrypoint.sh . RUN chmod 755 ./docker-entrypoint.sh diff --git a/hugegraph-dist/docker/scripts/try-storage.groovy b/hugegraph-dist/docker/scripts/detect-storage.groovy similarity index 100% rename from hugegraph-dist/docker/scripts/try-storage.groovy rename to hugegraph-dist/docker/scripts/detect-storage.groovy diff --git a/hugegraph-dist/src/assembly/static/bin/wait-storage.sh b/hugegraph-dist/src/assembly/static/bin/wait-storage.sh index 9d987992dd..62e33ee7c2 100644 --- a/hugegraph-dist/src/assembly/static/bin/wait-storage.sh +++ b/hugegraph-dist/src/assembly/static/bin/wait-storage.sh @@ -30,7 +30,7 @@ BIN=$(abs_path) TOP="$(cd "$BIN"/../ && pwd)" GRAPH_PROP="$TOP/conf/graphs/hugegraph.properties" HUGE_STORAGE_TIMEOUT_S=120 -TRY_STORAGE="$TOP/scripts/try-storage.groovy" +TRY_STORAGE="$TOP/scripts/detect-storage.groovy" . "$BIN"/util.sh