Skip to content

Instantly share code, notes, and snippets.

@kynetiv
Last active December 28, 2016 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kynetiv/5eadc5a4ee38bd850380fafc6a3c2679 to your computer and use it in GitHub Desktop.
Save kynetiv/5eadc5a4ee38bd850380fafc6a3c2679 to your computer and use it in GitHub Desktop.
Brew Elasticsearch 2.4.x Dots in fields name - /usr/local/opt/elasticsearch@2.4/homebrew.mxcl.elasticsearch@2.4.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>homebrew.mxcl.elasticsearch24</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/elasticsearch</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>ES_JAVA_OPTS</key>
<string>-Dmapper.allow_dots_in_name=true</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local/var</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/elasticsearch.log</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/elasticsearch.log</string>
</dict>
</plist>
@kynetiv
Copy link
Author

kynetiv commented Nov 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment