From 10cad61231c2d6ce0d9a542ae4d10147b18d9ec5 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 28 Jul 2013 11:06:02 -0400 Subject: [PATCH] Don't put ssmtp in hydra's paths Some installations may want to use system-wide sendmail (i.e. /run/setuid-wrappers/sendmail) and those that want ssmtp can add it to hydra's path themselves. Signed-off-by: Shea Levy --- hydra-module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index 86afad76..d6b3de4b 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -199,7 +199,7 @@ in { wantedBy = [ "multi-user.target" ]; wants = [ "hydra-init.service" ]; after = [ "hydra-init.service" "network.target" ]; - path = [ pkgs.nettools pkgs.ssmtp ]; + path = [ pkgs.nettools ]; environment = env; serviceConfig = { ExecStartPre = "${cfg.hydra}/bin/hydra-queue-runner --unlock"; @@ -213,7 +213,7 @@ in { wantedBy = [ "multi-user.target" ]; wants = [ "hydra-init.service" ]; after = [ "hydra-init.service" "network.target" ]; - path = [ pkgs.nettools pkgs.ssmtp ]; + path = [ pkgs.nettools ]; environment = env; serviceConfig = { ExecStart = "@${cfg.hydra}/bin/hydra-evaluator hydra-evaluator";