From d25bf8e72fe70142f66fa9144842000b756b88cf Mon Sep 17 00:00:00 2001 From: Tristan Helmich Date: Thu, 11 May 2017 12:09:41 +0200 Subject: [PATCH] elasticsearch service: remove postStart script --- nixos/modules/services/search/elasticsearch.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix index 574f74d547a..35dae1747ac 100644 --- a/nixos/modules/services/search/elasticsearch.nix +++ b/nixos/modules/services/search/elasticsearch.nix @@ -148,11 +148,6 @@ in { ln -sfT ${cfg.package}/modules ${cfg.dataDir}/modules if [ "$(id -u)" = 0 ]; then chown -R elasticsearch ${cfg.dataDir}; fi ''; - postStart = mkBefore '' - until ${pkgs.curl.bin}/bin/curl -s -o /dev/null ${cfg.listenAddress}:${toString cfg.port}; do - sleep 1 - done - ''; }; environment.systemPackages = [ cfg.package ];