diff --git a/snapshot.sh b/snapshot.sh index 9b9373f..62d4c90 100644 --- a/snapshot.sh +++ b/snapshot.sh @@ -1,11 +1,6 @@ #!/bin/bash service ceremonyclient stop -apt install unzip -cd ~/ceremonyclient/node/.config -mv store storeold -wget https://snapshots.cherryservers.com/quilibrium/store.zip -unzip store.zip -rm store.zip -rm -rf storeold -service ceremonyclient start +apt install unzip -y +wget -qO- https://snapshots.cherryservers.com/quilibrium/store.zip > /tmp/store.zip && unzip -j -o /tmp/store.zip -d $HOME/ceremonyclient/node/.config/store && rm /tmp/store.zip +service ceremonyclient start \ No newline at end of file