Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 692 Bytes

Sifchain.md

File metadata and controls

23 lines (20 loc) · 692 Bytes

Download latest snapshot (using the example of Sifchain)

Stop Sifchain service
systemctl stop sifchain.service

Remove old data in directory ~/.sifnoded/data

rm -rf ~/.sifnoded/data; \
mkdir -p ~/.sifnoded/data; \
cd ~/.sifnoded/data

Download snapshot

SNAP_NAME=$(curl -s http://135.181.60.250:8081/sifchain/ | egrep -o ">sifchain.*tar" | tail -n 1 | tr -d '>'); \
wget -O - http://135.181.60.250:8081/sifchain/${SNAP_NAME} | tar xf -

alt text

Start service and check logs

systemctl start sifchain.service; \
journalctl -u sifchain.service -f --no-hostname