fix(termux): disable gateway service flows on android

This commit is contained in:
adybag14-cyber
2026-04-09 10:29:32 +02:00
committed by Teknium
parent 4e40e93b98
commit 3878495972
7 changed files with 153 additions and 48 deletions

View File

@@ -3763,7 +3763,7 @@ def cmd_update(args):
# running gateway needs restarting to pick up the new code.
try:
from hermes_cli.gateway import (
is_macos, is_linux, _ensure_user_systemd_env,
is_macos, supports_systemd_services, _ensure_user_systemd_env,
find_gateway_pids,
_get_service_pids,
)
@@ -3774,7 +3774,7 @@ def cmd_update(args):
# --- Systemd services (Linux) ---
# Discover all hermes-gateway* units (default + profiles)
if is_linux():
if supports_systemd_services():
try:
_ensure_user_systemd_env()
except Exception: