test
This commit is contained in:
parent
521f3d9ad2
commit
447d8109df
@ -5,7 +5,7 @@ if [ ! -z DOCKER_LOTUS_IMPORT_SNAPSHOT ]; then
|
|||||||
# Don't init if already initialized.
|
# Don't init if already initialized.
|
||||||
if [ ! -f "$GATE" ]; then
|
if [ ! -f "$GATE" ]; then
|
||||||
echo importing minimal snapshot
|
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
|
# Block future inits
|
||||||
date > "$GATE"
|
date > "$GATE"
|
||||||
fi
|
fi
|
||||||
@ -16,4 +16,4 @@ if [ ! -z DOCKER_LOTUS_IMPORT_WALLET ]; then
|
|||||||
/usr/local/bin/lotus-shed keyinfo import "$DOCKER_LOTUS_IMPORT_WALLET"
|
/usr/local/bin/lotus-shed keyinfo import "$DOCKER_LOTUS_IMPORT_WALLET"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec /usr/local/bin/lotus $@
|
/usr/local/bin/lotus daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user