From b680ed38b1737d2ffd6a3b36bccd69c7f7d5e425 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Thu, 30 May 2024 09:58:29 +0800 Subject: [PATCH] Update Quili.sh --- Quili.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Quili.sh b/Quili.sh index 00627c6..6a1e7d3 100644 --- a/Quili.sh +++ b/Quili.sh @@ -107,7 +107,7 @@ git switch release chmod +x release_autorun.sh # 创建一个screen会话并运行命令 -screen -dmS Quili bash -c 'while true; do ./node-1.4.18-linux-amd64; sleep 1; done' +screen -dmS Quili bash -c './release_autorun.sh' echo ====================================== 安装完成 ========================================= @@ -170,7 +170,7 @@ git switch release chmod +x release_autorun.sh # 创建一个 screen 会话并运行命令 -screen -dmS Quili bash -c 'while true; do ./node-1.4.18-linux-amd64; sleep 1; done' +screen -dmS Quili bash -c './release_autorun.sh' # 构建 Qclient @@ -191,7 +191,7 @@ function check_service_status() { # 独立启动 function run_node() { - screen -dmS Quili bash -c "source /root/.gvm/scripts/gvm && gvm use go1.20.2 && cd ~/ceremonyclient/node && screen -dmS Quili bash -c 'while true; do ./node-1.4.18-linux-amd64; sleep 1; done'" + screen -dmS Quili bash -c "source /root/.gvm/scripts/gvm && gvm use go1.20.2 && cd ~/ceremonyclient/node && ./release_autorun.sh" echo "=======================已启动quilibrium 挖矿 请使用screen 命令查询状态=========================================" }