summary refs log tree commit diff
path: root/nixos/modules/services/scheduling
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-09-10 20:19:48 +0200
committerAlexander Ried <ried@mytum.de>2016-09-13 11:19:22 +0200
commit3826c19392aed46eac7a84e28d26311a4f8f5dc6 (patch)
tree48b7f915f18fd4f41b87f51437a4bca81e637139 /nixos/modules/services/scheduling
parent5a2a3510b936db3cb758ed0e62a90fb82949c654 (diff)
downloadnixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar.gz
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar.bz2
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar.lz
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar.xz
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.tar.zst
nixpkgs-3826c19392aed46eac7a84e28d26311a4f8f5dc6.zip
chronos service: remove use of network-interfaces.target
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r--nixos/modules/services/scheduling/chronos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/chronos.nix b/nixos/modules/services/scheduling/chronos.nix
index db1f0f5f00c..6c39997fec8 100644
--- a/nixos/modules/services/scheduling/chronos.nix
+++ b/nixos/modules/services/scheduling/chronos.nix
@@ -41,7 +41,7 @@ in {
     systemd.services.chronos = {
       description = "Chronos Service";
       wantedBy = [ "multi-user.target" ];
-      after = [ "network-interfaces.target" "zookeeper.service" ];
+      after = [ "network.target" "zookeeper.service" ];
 
       serviceConfig = {
         ExecStart = "${pkgs.chronos}/bin/chronos --master ${cfg.master} --zk_hosts ${concatStringsSep "," cfg.zookeeperHosts} --http_port ${toString cfg.httpPort}";