#CAPISTRANO CMD
####Deploy current branch
> cap <ENV> deploy
####Maintenance
> cap <ENV> maintenance:on REASON='foo bar' ALLOWED_IPS='xxx.xxx.xx.xxx'
### USAGE | |
### | |
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0 | |
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4 | |
### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
### | |
### CLI options Contributed by @janpieper | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch | |
### ElasticSearch version |
#CAPISTRANO CMD
####Deploy current branch
> cap <ENV> deploy
####Maintenance
> cap <ENV> maintenance:on REASON='foo bar' ALLOWED_IPS='xxx.xxx.xx.xxx'