From 189fc6cfbfd2bd955f42a6fffe7a70033cf9cc1c Mon Sep 17 00:00:00 2001 From: Pablo Andres Dealbera Date: Wed, 14 Aug 2024 14:35:57 -0300 Subject: [PATCH 1/2] nixos/bazarr: set systemd config KillSignal to SIGINT to fix timeout --- nixos/modules/services/misc/bazarr.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/bazarr.nix b/nixos/modules/services/misc/bazarr.nix index 99343a146a7a..76a26c2ebbf0 100644 --- a/nixos/modules/services/misc/bazarr.nix +++ b/nixos/modules/services/misc/bazarr.nix @@ -55,6 +55,7 @@ in --no-update True ''; Restart = "on-failure"; + KillSignal = "SIGINT"; }; }; From 24be165be331e1c53266d60aed3c75bdb23d348b Mon Sep 17 00:00:00 2001 From: Pablo Andres Dealbera Date: Mon, 21 Oct 2024 12:34:15 -0300 Subject: [PATCH 2/2] nixos/bazarr: add 156 as a valid SuccessExitStatus --- nixos/modules/services/misc/bazarr.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/bazarr.nix b/nixos/modules/services/misc/bazarr.nix index 76a26c2ebbf0..f7b7c8f528e3 100644 --- a/nixos/modules/services/misc/bazarr.nix +++ b/nixos/modules/services/misc/bazarr.nix @@ -56,6 +56,7 @@ in ''; Restart = "on-failure"; KillSignal = "SIGINT"; + SuccessExitStatus = "0 156"; }; };