no-mistakes(review): Add pct exec variants to B3.5 stale pid/lock cleanup

This commit is contained in:
root
2026-07-22 22:12:56 +00:00
parent 1ba18aeb77
commit 4073fd63f7
+3
View File
@@ -290,6 +290,9 @@ ssh root@192.168.68.15 "pct exec 111 -- ls -la /root/.hermes/gateway.pid /root/.
If gateway process is dead (no PID) but pid/lock files exist: If gateway process is dead (no PID) but pid/lock files exist:
```bash ```bash
ssh root@<CT> "rm -f /root/.hermes/gateway.pid /root/.hermes/gateway.lock" ssh root@<CT> "rm -f /root/.hermes/gateway.pid /root/.hermes/gateway.lock"
# pct exec variant:
ssh root@192.168.68.15 "pct exec 113 -- rm -f /root/.hermes/gateway.pid /root/.hermes/gateway.lock"
ssh root@192.168.68.15 "pct exec 111 -- rm -f /root/.hermes/gateway.pid /root/.hermes/gateway.lock"
``` ```
Pid/lock files blocking restart → clear them before restart attempt. Pid/lock files blocking restart → clear them before restart attempt.