diff --git a/start.sh b/start.sh index b80fdef..e2ea917 100755 --- a/start.sh +++ b/start.sh @@ -2,9 +2,10 @@ set -e SNAPSHOT_FOLDER=./data/snapshots -export SNAPSHOT_FILE=$SNAPSHOT_FOLDER/snapshot.bin if [ "$SNAPSHOT_ENABLE" = "true" ]; then + + export SNAPSHOT_FILE=$SNAPSHOT_FOLDER/snapshot.bin rm -rf ./data/* if [ ! -d "./data" ];then