Merge pull request #216451 from Mindavi/hydra/systemd-target
nixos/hydra: wait for network-online before evaluator start
This commit is contained in:
commit
8d8f5ede91
|
@ -398,7 +398,7 @@ in
|
||||||
systemd.services.hydra-evaluator =
|
systemd.services.hydra-evaluator =
|
||||||
{ wantedBy = [ "multi-user.target" ];
|
{ wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "hydra-init.service" ];
|
requires = [ "hydra-init.service" ];
|
||||||
after = [ "hydra-init.service" "network.target" ];
|
after = [ "hydra-init.service" "network.target" "network-online.target" ];
|
||||||
path = with pkgs; [ hydra-package nettools jq ];
|
path = with pkgs; [ hydra-package nettools jq ];
|
||||||
restartTriggers = [ hydraConf ];
|
restartTriggers = [ hydraConf ];
|
||||||
environment = env // {
|
environment = env // {
|
||||||
|
|
Loading…
Reference in a new issue