From 447d8109dfc7dfc47ceb07dd9961a4306a608770 Mon Sep 17 00:00:00 2001 From: "jonathan@vulcanize.io" Date: Fri, 3 May 2024 19:36:37 +0000 Subject: [PATCH] test --- scripts/docker-lotus-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker-lotus-entrypoint.sh b/scripts/docker-lotus-entrypoint.sh index 15eb7e668..bb11211e9 100755 --- a/scripts/docker-lotus-entrypoint.sh +++ b/scripts/docker-lotus-entrypoint.sh @@ -5,7 +5,7 @@ if [ ! -z DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then # Don't init if already initialized. if [ ! -f "$GATE" ]; then echo importing minimal snapshot - /usr/local/bin/lotus daemon --import-snapshot "$DOCKER_LOTUS_IMPORT_SNAPSHOT" + /usr/local/bin/lotus daemon --import-snapshot "$DOCKER_LOTUS_IMPORT_SNAPSHOT" --halt-after-import # Block future inits date > "$GATE" fi @@ -16,4 +16,4 @@ if [ ! -z DOCKER_LOTUS_IMPORT_WALLET ]; then /usr/local/bin/lotus-shed keyinfo import "$DOCKER_LOTUS_IMPORT_WALLET" fi -exec /usr/local/bin/lotus $@ +/usr/local/bin/lotus daemon