From c65de96b680924e9bdb462c1e51c2088bcc6015a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Sat, 17 Jul 2021 07:01:30 +0200 Subject: [PATCH] nix-community-cache: increase stop timeout --- roles/nix-community-cache.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/nix-community-cache.nix b/roles/nix-community-cache.nix index 60da721..a579fa2 100644 --- a/roles/nix-community-cache.nix +++ b/roles/nix-community-cache.nix @@ -16,6 +16,7 @@ in CacheDirectory = "cachix-watch-store"; ExecStart = "${pkgs.cachix}/bin/cachix -c ${configFile} watch-store nix-community"; KillSignal = "SIGINT"; + TimeoutStopSec = "10min"; }; }; systemd.services.nix-gc.serviceConfig = lib.mkIf (config.services.hydra.enable) { @@ -25,7 +26,7 @@ in "${pkgs.systemd}/bin/systemctl stop hydra-queue-runner.service" "${pkgs.systemd}/bin/systemctl stop cachix-watch-store.service" ]; - TimeoutStartSec = "5min"; + TimeoutStartSec = "11min"; ExecStopPost = "${pkgs.systemd}/bin/systemctl start hydra-queue-runner.service cachix-watch-store.service"; }; }