From b2e0132f8207ef9847aab1dfd21cc6255cf0b540 Mon Sep 17 00:00:00 2001 From: igneum-josh <337424239+igneum-josh@users.noreply.github.com> Date: Sun, 4 Oct 2026 03:44:47 +0000 Subject: [PATCH] Seed v4 staging: status line prints one unit state (is-enabled exits 1 on disabled) Co-Authored-By: Claude Fable 5.1 --- infra/seed-nodes/stage-v4.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/seed-nodes/stage-v4.sh b/infra/seed-nodes/stage-v4.sh index c5cb4d2c1..9c69919bf 100755 --- a/infra/seed-nodes/stage-v4.sh +++ b/infra/seed-nodes/stage-v4.sh @@ -30,8 +30,8 @@ remote_status() { systemctl is-active '"$BUILD_UNIT"' >/dev/null 2>&1 && s="running (unit active)" last=""; [ -f /root/v4/build.log ] && last=$(grep -E "build running|build finished|FAILED|DONE|error\[" /root/v4/build.log | tail -1) inst="not installed"; [ -x /opt/igneum/v4/bin/igneumd ] && inst="installed $(head -1 /root/v4/out/version.txt 2>/dev/null)" - u4=$(systemctl is-enabled igneumd-v4 2>/dev/null || echo absent); a4=$(systemctl is-active igneumd-v4 2>/dev/null || true) - u3=$(systemctl is-enabled igneumd 2>/dev/null || echo absent); a3=$(systemctl is-active igneumd 2>/dev/null || true) + u4=$(systemctl is-enabled igneumd-v4 2>/dev/null || true); [ -n "$u4" ] || u4=absent; a4=$(systemctl is-active igneumd-v4 2>/dev/null || true) + u3=$(systemctl is-enabled igneumd 2>/dev/null || true); [ -n "$u3" ] || u3=absent; a3=$(systemctl is-active igneumd 2>/dev/null || true) echo "build=$s | $last | v4: $inst, unit igneumd-v4 $u4/$a4 | v3: unit igneumd $u3/$a3"' }