Skip to content

Instantly share code, notes, and snippets.

@awd
Forked from santosh79/solr.plist
Created October 27, 2011 14:40
Show Gist options
  • Save awd/1319725 to your computer and use it in GitHub Desktop.
Save awd/1319725 to your computer and use it in GitHub Desktop.
org.apache.solr.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>Label</key>
<string>org.apache.solr</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/solr</string>
<string>/usr/local/share/solr</string>
</array>
<key>ServiceDescription</key>
<string>Apache Solr Server</string>
<key>StandardErrorPath</key>
<string>/var/log/system.log</string>
<key>StandardOutPath</key>
<string>/var/log/system.log</string>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment