Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
737b50fc69 Update CHANGELOG.md 2026-09-10 04:28:26 +00:00
Stephen Chin
9101f0c5f4 fix(hermesagent): wait for root gateway cleanup (#17147)
Co-authored-by: Stephen Chin <1290231+steveonjava@users.noreply.github.com>
2026-09-10 06:28:10 +02:00
2 changed files with 13 additions and 0 deletions

View File

@@ -540,6 +540,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-09-10
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(hermesagent): wait for root gateway cleanup [@steveonjava](https://github.com/steveonjava) ([#17147](https://github.com/community-scripts/ProxmoxVE/pull/17147))
## 2026-09-09
### 🆕 New Scripts

View File

@@ -56,6 +56,11 @@ function update_script() {
mapfile -t root_gateway_pids < <(ps -eo user=,pid=,args= | awk '$1 == "root" && $0 ~ /\/home\/hermes\/\.hermes\/hermes-agent\/venv\/bin\/python -m hermes_cli\.main gateway run --replace$/ { print $2 }')
if ((${#root_gateway_pids[@]})); then
kill -TERM "${root_gateway_pids[@]}"
for pid in "${root_gateway_pids[@]}"; do
while kill -0 "$pid" 2>/dev/null; do
sleep 0.1
done
done
fi
chown -R hermes:hermes /home/hermes
msg_ok "Updated Hermes Agent"