Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 812 Bytes

ixo.md

File metadata and controls

31 lines (27 loc) · 812 Bytes

Download latest snapshot (using the example of IXO)

Stop IXO service
systemctl stop ixod.service

Remove old data in directory ~/.ixod/data

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

Download snapshot through aria2c

SNAP_LINK="https://services.staketab.com/ixo/"
SNAP_NAME=$(curl -s ${SNAP_LINK} | egrep -o ">impacthub-3.*tar" | tr -d ">")
aria2c -x2 ${SNAP_LINK}${SNAP_NAME}
tar -xf ${SNAP_NAME}
rm -rf ${SNAP_NAME}

Download snapshot through wget

SNAP_NAME=$(curl -s https://services.staketab.com/ixo/ | egrep -o ">impacthub-3.*tar" | tr -d ">"); \
wget -O - https://services.staketab.com/ixo/${SNAP_NAME} | tar xf -

Start service and check logs

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