From d67e2a6d312f5712b756ab75aff7a0c1a6f7e29d Mon Sep 17 00:00:00 2001 From: sdohuajia <63113882+sdohuajia@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:12:45 +0800 Subject: [PATCH] Update nexus.sh --- nexus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus.sh b/nexus.sh index 9561cfb..15bc84b 100644 --- a/nexus.sh +++ b/nexus.sh @@ -116,6 +116,7 @@ function start_node() { # 加载 Rust 环境 source $HOME/.cargo/env + export PATH="$HOME/.cargo/bin:$PATH" echo "Rust 环境已加载。" fi @@ -148,7 +149,6 @@ After=network.target User=$USER WorkingDirectory=$HOME/network-api/clients/cli Environment=NONINTERACTIVE=1 -Environment=PATH=/root/.cargo/bin:$PATH ExecStart=$HOME/.cargo/bin/cargo run --release --bin prover -- beta.orchestrator.nexus.xyz Restart=always RestartSec=10