forked from lix-project/hydra
Add a unit template to run hydra-evaluator with arbitrary arguments
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
27a740d4b1
commit
6cac7e9795
|
@ -244,6 +244,16 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services."hydra-evaluator@" =
|
||||
{ path = [ pkgs.nettools ];
|
||||
environment = env;
|
||||
serviceConfig =
|
||||
{ ExecStart = "@${cfg.hydra}/bin/hydra-evaluator hydra-evaluator %I";
|
||||
User = "hydra";
|
||||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."hydra-update-gc-roots" =
|
||||
{ wants = [ "hydra-init.service" ];
|
||||
after = [ "hydra-init.service" ];
|
||||
|
|
Loading…
Reference in a new issue