Created
April 11, 2012 15:41
-
-
Save jodosha/2360113 to your computer and use it in GitHub Desktop.
Except of a bash script of mine to alias start commands from software I install with Homebrew
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/bash | |
case "$1" in | |
'postgres') | |
postgres -D /usr/local/var/postgres | |
;; | |
'elasticsearch') | |
elasticsearch -f -D es.config=/usr/local/Cellar/elasticsearch/0.19.1/config/elasticsearch.yml | |
;; | |
esac | |
# usage: | |
# run elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment