From dfb20929d45d75608f5bc3cca4f7e02fd0b928bb Mon Sep 17 00:00:00 2001 From: sdohuajia <63113882+sdohuajia@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:51:06 +0800 Subject: [PATCH] Update Waku.sh --- Waku.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Waku.sh b/Waku.sh index 4af697e..0035883 100644 --- a/Waku.sh +++ b/Waku.sh @@ -104,6 +104,18 @@ function install_node() { nano .env echo ".env 文件编辑完成。" + + # 执行 register_rln.sh 脚本 + echo "正在执行 register_rln.sh 脚本..." + ./register_rln.sh + + echo "register_rln.sh 脚本执行完成。" + + # 启动 Docker Compose 服务 + echo "启动 Docker Compose 服务..." + docker-compose up -d || { echo "启动 Docker Compose 失败,请检查错误信息。"; exit 1; } + + echo "Docker Compose 服务启动完成。" } # 修复错误函数