From 3761b4ad89d4bc27a8956b866f93b6d9f3cbd0e1 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 25 Sep 2024 15:28:14 -0500 Subject: [PATCH] walker: fix service stop killing child processes Signed-off-by: Myned --- options/custom/programs/walker/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/options/custom/programs/walker/default.nix b/options/custom/programs/walker/default.nix index 21611f0..864d1e3 100644 --- a/options/custom/programs/walker/default.nix +++ b/options/custom/programs/walker/default.nix @@ -116,5 +116,9 @@ in { }; }; }; + + # HACK: Allow child processes to live, otherwise applications launched through service are killed on stop + # https://www.freedesktop.org/software/systemd/man/latest/systemd.kill.html#KillMode= + systemd.user.services.walker.Service.KillMode = "process"; }; }