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