fix(pr-daemon): KillMode=process
CI / lint (push) Successful in 30s
CI / eval (push) Successful in 1m53s

Agent tmux sessions the daemon starts live in its cgroup; a restart was
killing every session it had created.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-19 19:03:51 +01:00
parent 9c536f87f6
commit 88abb49340
+3
View File
@@ -117,6 +117,9 @@ in
Environment = [ "PATH=${toolPath}" ];
Restart = "always";
RestartSec = 5;
# The agent tmux sessions this daemon starts land in its cgroup, so the
# default control-group kill takes every running agent down with it.
KillMode = "process";
};
Install.WantedBy = [ "default.target" ];
};