Skip to content

Commit

Permalink
fixup! elasticsearch 2.2.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#48753.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
  • Loading branch information
jasontedor authored and apjanke committed Feb 3, 2016
1 parent 0420955 commit 286ab9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def plist; <<-EOS.undent
system "#{libexec}/bin/plugin", "list"
pid = "#{testpath}/pid"
begin
system "#{bin}/elasticsearch", "-d", "-p", pid, "--path.data", testpath
mkdir testpath/"config"
system "#{bin}/elasticsearch", "-d", "-p", pid, "--path.home", testpath
sleep 10
system "curl", "-XGET", "localhost:9200/"
ensure
Expand Down

0 comments on commit 286ab9c

Please sign in to comment.