From cc947ef934abf0842bfe6861c475f038926aea60 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sun, 13 Mar 2016 05:25:27 +0200 Subject: virtualization/azure: reorder WALA and SSHD --- nixos/modules/virtualisation/azure-agent.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/virtualisation/azure-agent.nix b/nixos/modules/virtualisation/azure-agent.nix index 34ca8df9d91b..da97565fd6de 100644 --- a/nixos/modules/virtualisation/azure-agent.nix +++ b/nixos/modules/virtualisation/azure-agent.nix @@ -155,8 +155,6 @@ in systemd.targets.provisioned = { description = "Services Requiring Azure VM provisioning to have finished"; - wantedBy = [ "sshd.service" ]; - before = [ "sshd.service" ]; }; systemd.services.consume-hypervisor-entropy = @@ -179,10 +177,8 @@ in }; systemd.services.waagent = { - wantedBy = [ "sshd.service" ]; - before = [ "sshd.service" ]; - after = [ "ip-up.target" ]; - wants = [ "ip-up.target" ]; + wantedBy = [ "multi-user.target" ]; + after = [ "ip-up.target" "sshd.service" ]; path = [ pkgs.e2fsprogs ]; description = "Windows Azure Agent Service"; -- cgit 1.4.1