about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2016-03-13 05:25:27 +0200
committerEvgeny Egorochkin <phreedom@yandex.ru>2016-03-13 13:57:31 +0200
commitcc947ef934abf0842bfe6861c475f038926aea60 (patch)
tree39a932391df976aff0f105110b2f1bcfd92ca6b9 /nixos
parent6f47b2c16d732c9fa9c7428a6cca268fa63b8dc5 (diff)
downloadnixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar.gz
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar.bz2
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar.lz
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar.xz
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.tar.zst
nixlib-cc947ef934abf0842bfe6861c475f038926aea60.zip
virtualization/azure: reorder WALA and SSHD
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/azure-agent.nix8
1 files changed, 2 insertions, 6 deletions
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";