From f4845cde0001dd3e87618a5b8812203f80e2ca55 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 17:09:24 +0100 Subject: [PATCH] hydra-module.nix: Make services require hydra-init --- hydra-module.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index 31b07b44..44e0edec 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -195,7 +195,7 @@ in systemd.services."hydra-server" = { wantedBy = [ "multi-user.target" ]; - wants = [ "hydra-init.service" ]; + requires = [ "hydra-init.service" ]; after = [ "hydra-init.service" ]; environment = serverEnv; serviceConfig = @@ -207,7 +207,7 @@ in systemd.services."hydra-queue-runner" = { wantedBy = [ "multi-user.target" ]; - wants = [ "hydra-init.service" ]; + requires = [ "hydra-init.service" ]; after = [ "hydra-init.service" "network.target" ]; path = [ pkgs.nettools ]; environment = env; @@ -221,7 +221,7 @@ in systemd.services."hydra-evaluator" = { wantedBy = [ "multi-user.target" ]; - wants = [ "hydra-init.service" ]; + requires = [ "hydra-init.service" ]; after = [ "hydra-init.service" "network.target" ]; path = [ pkgs.nettools ]; environment = env; @@ -233,7 +233,7 @@ in }; systemd.services."hydra-update-gc-roots" = - { wants = [ "hydra-init.service" ]; + { requires = [ "hydra-init.service" ]; after = [ "hydra-init.service" ]; environment = env; serviceConfig =