Skip to content

Instantly share code, notes, and snippets.

@satanTime
Created November 3, 2016 10:24
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 satanTime/058985491062b1936fe227e7ccb6635c to your computer and use it in GitHub Desktop.
Save satanTime/058985491062b1936fe227e7ccb6635c to your computer and use it in GitHub Desktop.
plist to load elastic search on macos
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.elasticsearch</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/elasticsearch/bin/elasticsearch</string>
<string>-f</string>
</array>
<key>UserName</key>
<string>root</string>
<key>GroupName</key>
<string>staff</string>
<key>WorkingDirectory</key>
<string>/opt/local/elasticsearch</string>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
<!-- /Library/LaunchDaemons/org.elasticsearch.plist -->
<!-- launchctl load -w /Library/LaunchDaemons/org.elasticsearch.plist -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment