chronos service: remove use of network-interfaces.target

This commit is contained in:
Joachim Fasting 2016-09-10 20:19:48 +02:00 committed by Alexander Ried
parent 5a2a3510b9
commit 3826c19392

View File

@ -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}";