Skip to content

Instantly share code, notes, and snippets.

@sanjmen
Created August 5, 2013 18:21
Show Gist options
  • Save sanjmen/6158169 to your computer and use it in GitHub Desktop.
Save sanjmen/6158169 to your computer and use it in GitHub Desktop.
#!/bin/bash
APP="$1"
case $APP in
solr)
cd ~/projects/orcheeder/search/orchids-search
java -jar start.jar
;;
es)
cd ~/projects/sources/elasticsearch-0.90.0
bin/elasticsearch -f
;;
mongodb)
mongod --dbpath=/home/santiago/projects/dbs/mongodb
;;
*)
echo 'NOP'
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment