fix(agent-health): vault token fallback + strix-server service name #39

Merged
jerome merged 4 commits from fix/agent-health-check into master 2026-08-01 14:20:04 +00:00
Showing only changes of commit b56501a1cf - Show all commits
+3
View File
@@ -61,8 +61,11 @@ INFISICAL_API_URL = os.environ.get("INFISICAL_API_URL", "https://vault.sysloggh.
if not INFISICAL_TOKEN: if not INFISICAL_TOKEN:
_token_path = os.path.expanduser("~/.infisical-token") _token_path = os.path.expanduser("~/.infisical-token")
if os.path.isfile(_token_path): if os.path.isfile(_token_path):
try:
with open(_token_path) as _f: with open(_token_path) as _f:
INFISICAL_TOKEN = _f.read().strip() INFISICAL_TOKEN = _f.read().strip()
except (OSError, UnicodeDecodeError):
pass
# ── Helpers ────────────────────────────────────────────────────────── # ── Helpers ──────────────────────────────────────────────────────────