Skip to content

Commit

Permalink
Fixed bug #81
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrocha committed Jan 8, 2018
1 parent 36a1b23 commit 5d56a47
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ if ( [ ! $# -ne 1 ] && [ "clean" == "$1" ]); then

echo "Cleaning your node ..."
#Backup directory tree
rm -Rf ~/alastria-backup-$CURRENT_DATE/logs/*
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/geth/chainData
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/geth/nodes
rm ~/alastria-backup-$CURRENT_DATE/data/geth/LOCK
rm ~/alastria-backup-$CURRENT_DATE/data/geth/transactions.rpl
rm ~/alastria-backup-$CURRENT_DATE/data/geth.ipc
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/quorum-raft-state
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/raft-snap
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/raft-wal
rm -Rf ~/alastria-backup-$CURRENT_DATE/data/constellation/data
rm ~/alastria-backup-$CURRENT_DATE/data/constellation/constellation.ipc
rm -Rf ~/alastria/logs/*
rm -Rf ~/alastria/data/geth/chainData
rm -Rf ~/alastria/data/geth/nodes
# Optional in case you start with process locked
# rm ~/alastria/data/geth/LOCK
rm ~/alastria/data/geth/transactions.rpl
rm ~/alastria/data/geth.ipc
rm -Rf ~/alastria/data/quorum-raft-state
rm -Rf ~/alastria/data/raft-snap
rm -Rf ~/alastria/data/raft-wal
rm -Rf ~/alastria/data/constellation/data
rm ~/alastria/data/constellation/constellation.ipc
fi

NETID=953474359
Expand Down

0 comments on commit 5d56a47

Please sign in to comment.