Created
November 3, 2016 10:24
-
-
Save satanTime/058985491062b1936fe227e7ccb6635c to your computer and use it in GitHub Desktop.
plist to load elastic search on macos
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
<?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