diff --git a/nexus.sh b/nexus.sh index 82de216..917f927 100644 --- a/nexus.sh +++ b/nexus.sh @@ -99,14 +99,14 @@ function start_node() { # 安装依赖项 cd $HOME/network-api/clients/cli - show_status "安装所需的依赖项..." "progress" + show_status "安装所需的依赖项..." if ! sudo apt install pkg-config libssl-dev -y; then show_status "安装依赖项失败。" "error" exit 1 fi # 创建 systemd 服务文件 - show_status "创建 systemd 服务..." "progress" + show_status "创建 systemd 服务..." SERVICE_FILE="/etc/systemd/system/$SERVICE_NAME.service" # 定义服务文件路径 if ! sudo bash -c "cat > $SERVICE_FILE <