diff --git a/hermes_cli/gateway.py b/hermes_cli/gateway.py index b29511dd59e0f..45d1cd097b3c9 100644 --- a/hermes_cli/gateway.py +++ b/hermes_cli/gateway.py @@ -317,6 +317,9 @@ def supports_systemd_services() -> bool: return False if is_wsl(): return _wsl_systemd_operational() + # Docker / container environments typically lack systemd + if shutil.which("systemctl") is None: + return False return True