nix-community-cache: increase stop timeout

This commit is contained in:
Jörg Thalheim 2021-07-17 07:01:30 +02:00
parent f01364d264
commit c65de96b68

View file

@ -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";
};
}