Skip to content

Commit

Permalink
hydra-module: add cfg.package to hydra-evaluator path
Browse files Browse the repository at this point in the history
  • Loading branch information
aycanirican committed Nov 28, 2016
1 parent ef138dc commit 37715d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ in
{ wantedBy = [ "multi-user.target" ];
requires = [ "hydra-init.service" ];
after = [ "hydra-init.service" "network.target" ];
path = [ pkgs.nettools ];
path = [ cfg.package pkgs.nettools ];
environment = env;
serviceConfig =
{ ExecStart = "@${cfg.package}/bin/hydra-evaluator hydra-evaluator";
Expand Down

2 comments on commit 37715d1

@peti
Copy link
Member

@peti peti commented on 37715d1 Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary?

@aycanirican
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is trying to execute hydra-eval-jobset:

hydra-evaluator[8862]: timeout: failed to run command ‘hydra-eval-jobset’: No such file or directory

Please sign in to comment.