Skip to content

Commit

Permalink
Elasticsearch 1.0.0
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#26666.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
jlecour authored and adamv committed Feb 13, 2014
1 parent ad8edbc commit cffba5a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Formula/elasticsearch.rb
Expand Up @@ -2,8 +2,8 @@

class Elasticsearch < Formula
homepage 'http://www.elasticsearch.org'
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.11.tar.gz'
sha1 'af86b1165f7a40bd90c17cfd2f92f5ebf2a45d32'
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.tar.gz'
sha1 'f190f496502a6608373fca3e8faf65b13dbcc3cd'

head do
url 'https://github.com/elasticsearch/elasticsearch.git'
Expand Down Expand Up @@ -83,7 +83,7 @@ def caveats; <<-EOS.undent
EOS
end

plist_options :manual => "elasticsearch -f -D es.config=#{HOMEBREW_PREFIX}/opt/elasticsearch/config/elasticsearch.yml"
plist_options :manual => "elasticsearch --config=#{HOMEBREW_PREFIX}/opt/elasticsearch/config/elasticsearch.yml"

def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -97,8 +97,7 @@ def plist; <<-EOS.undent
<key>ProgramArguments</key>
<array>
<string>#{HOMEBREW_PREFIX}/bin/elasticsearch</string>
<string>-f</string>
<string>-D es.config=#{prefix}/config/elasticsearch.yml</string>
<string>--config=#{prefix}/config/elasticsearch.yml</string>
</array>
<key>EnvironmentVariables</key>
<dict>
Expand Down

0 comments on commit cffba5a

Please sign in to comment.