about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2015-05-07 08:50:47 +0000
committerRob Vermaas <rob.vermaas@gmail.com>2015-05-07 08:51:38 +0000
commit650d3f8fc4e49d6caed46b8f6db077e634682bd6 (patch)
tree4143731a5f7b9634f545e54b3187c9d48382bfeb /nixos
parent10bb715c077ced71defbd4318cebe77b64b7a279 (diff)
downloadnixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar.gz
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar.bz2
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar.lz
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar.xz
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.tar.zst
nixlib-650d3f8fc4e49d6caed46b8f6db077e634682bd6.zip
Revert restartIfChanged on fetch-ec2-data, as it breaks deployments that set ec2.metadata = true, as the existing (default) blackhole will not be cleared.
(cherry picked from commit ccf672ca6b055e5e862e45b65d122754c16cf7d1)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/ec2-data.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/ec2-data.nix b/nixos/modules/virtualisation/ec2-data.nix
index b21c6bfbc0be..fd062237bb07 100644
--- a/nixos/modules/virtualisation/ec2-data.nix
+++ b/nixos/modules/virtualisation/ec2-data.nix
@@ -79,8 +79,6 @@ with lib;
 
         serviceConfig.Type = "oneshot";
         serviceConfig.RemainAfterExit = true;
-
-        restartIfChanged = false;
       };
 
     systemd.services."print-host-key" =