Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mingfunwong authored Nov 1, 2023
1 parent 7af8ed9 commit 53894ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53894ae

Please sign in to comment.