From 77f6fee75a60485ee47c7c52ae90d554d7b758d7 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Sat, 22 Jun 2024 00:41:24 +0800 Subject: [PATCH] Update 0g.sh --- 0g.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/0g.sh b/0g.sh index d39ed87..263a39f 100644 --- a/0g.sh +++ b/0g.sh @@ -114,6 +114,9 @@ function install_node() { # 使用 PM2 启动节点进程 pm2 start 0gchaind -- start && pm2 save && pm2 startup + curl -L https://snapshots.dadunode.com/0gchain/0gchaind_latest_tar.lz4 | tar -I lz4 -xf - -C $HOME/.0gchain/data + pm2 restart 0gchaind + echo '====================== 安装完成,请退出脚本后执行 source $HOME/.bash_profile 以加载环境变量===========================' }