Update Artela.sh

This commit is contained in:
smeb y 2024-07-09 12:51:08 +08:00 committed by GitHub
parent 2f55b89696
commit 2a5cb6aa39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,8 +128,8 @@ function install_node() {
# 下载快照
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
wget -O lasted_snapshot.tar.lz4 https://public-snapshot-storage-develop.s3.amazonaws.com/artela/artela_11822-1/snapshots/artela_9622238.tar.lz4
lz4 -c -d lasted_snapshot.tar.lz4 | tar -x -C $HOME/.artelad
wget -O lasted_snapshot.tar.lz4 https://snapshots.dadunode.com/artela/artela_latest_tar.lz4
lz4 -c -d lasted_snapshot.tar.lz4 | tar -x -C $HOME/.artelad/data
# 使用 PM2 启动节点进程