Created
April 23, 2011 21:26
-
-
Save nz/938996 to your computer and use it in GitHub Desktop.
homebrew solr.sh
This file contains hidden or 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
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "Usage: $ solr path/to/config/dir" | |
else | |
cd /Users/foo/Developer/Cellar/solr/3.1.0/libexec/example && java -Dsolr.solr.home=$1 -jar start.jar | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment