From 6f10cd297be3cb21cf4b1a1204bd85751187ba01 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 26 May 2016 14:16:47 +0300 Subject: [PATCH] hydra-module: fix useSubstitutes configuration option --- hydra-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-module.nix b/hydra-module.nix index 49ed2ba0..eeaf62be 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -324,7 +324,7 @@ in IN_SYSTEMD = "1"; # to get log severity levels }; serviceConfig = - { ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v --option build-use-substitutes ${if optionalString cfg.useSubstitutes then "true" else "false"}"; + { ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v --option build-use-substitutes ${if cfg.useSubstitutes then "true" else "false"}"; ExecStopPost = "${cfg.package}/bin/hydra-queue-runner --unlock"; User = "hydra-queue-runner"; Restart = "always";