From 17924ce012740f8565e9e43f43d52920ad47eb3f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 26 Jun 2015 11:56:11 +0200 Subject: [PATCH] Note in the log when the queue runner / evaluator gets killed --- hydra-module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hydra-module.nix b/hydra-module.nix index 470f842d..0933e9a6 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -271,9 +271,11 @@ in '' #! ${pkgs.stdenv.shell} if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFree} * 1024**3)) ]; then + echo "stopping Hydra queue runner due to lack of free space..." systemctl stop hydra-queue-runner fi if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((${toString cfg.minimumDiskFreeEvaluator} * 1024**3)) ]; then + echo "stopping Hydra evaluator due to lack of free space..." systemctl stop hydra-evaluator fi '';