From 7f01b8824e68d128c685d7ce48a096907b1fd836 Mon Sep 17 00:00:00 2001 From: Apunkt Date: Tue, 19 May 2026 10:32:06 +0200 Subject: [PATCH] fix(systemd): Restart=always so daemon restarts after HIBERNATION clean exit The daemon exits with status 0 on HIBERNATION (by design, to drop RSS). Restart=on-failure only restarts on non-zero exits, so the daemon stayed dead. Change to Restart=always. --- deploy/systemd/iai-mcp-daemon.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/systemd/iai-mcp-daemon.service b/deploy/systemd/iai-mcp-daemon.service index 6e56551..9c9b0f3 100644 --- a/deploy/systemd/iai-mcp-daemon.service +++ b/deploy/systemd/iai-mcp-daemon.service @@ -19,7 +19,7 @@ StartLimitBurst=3 [Service] Type=simple ExecStart=%h/.venv/iai-mcp/bin/python -m iai_mcp.daemon -Restart=on-failure + Restart=always RestartSec=30 Environment="IAI_MCP_STORE=%h/.iai-mcp"