From 3e077a2c4ae7fc1461b0e544c9e0acd0dfeff1b4 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 11 Oct 2026 08:54:11 +0200 Subject: [PATCH] Clean up comments in hermesagent.sh Removed comments regarding hermes update and matching patterns. --- ct/hermesagent.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/ct/hermesagent.sh b/ct/hermesagent.sh index 1a260b83b..c42f2924c 100644 --- a/ct/hermesagent.sh +++ b/ct/hermesagent.sh @@ -51,9 +51,6 @@ function update_script() { set -a; source /etc/default/hermes; set +a /home/hermes/.local/bin/hermes update --yes ' - # hermes update relaunches the gateway as root (#17123). Match the module and - # the home path, not the interpreter: upstream moved from the venv python to a - # bundled one run through runpy and the old pattern matched nothing (#17843). mapfile -t root_gateway_pids < <(ps -eo user=,pid=,args= | awk '$1 == "root" && /\/home\/hermes\/\.hermes\// && /hermes_cli[.]main/ && / gateway run --replace$/ { print $2 }') if ((${#root_gateway_pids[@]})); then kill -TERM "${root_gateway_pids[@]}"