Created
August 26, 2015 04:59
-
-
Save khoan/709f2732a874e801d343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.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> | |
<true/> | |
<key>Label</key> | |
<string>homebrew.mxcl.elasticsearch</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/elasticsearch</string> | |
<string>--config=/usr/local/Cellar/elasticsearch/1.3.8/config/elasticsearch.yml</string> | |
</array> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>ES_JAVA_OPTS</key> | |
<string>-Xss200000</string> | |
<key>JAVA_HOME</key> | |
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home</string> | |
</dict> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>WorkingDirectory</key> | |
<string>/usr/local/var</string> | |
<key>StandardErrorPath</key> | |
<string>/dev/null</string> | |
<key>StandardOutPath</key> | |
<string>/dev/null</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment