Created
October 9, 2015 10:18
-
-
Save nickmarden/2d41661acdad234ea566 to your computer and use it in GitHub Desktop.
This file contains 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 -x | |
rm -fr $HOME/elasticsearch | |
mkdir -p $HOME/elasticsearch | |
mkdir -p $HOME/elasticsearch/data | |
mkdir -p $HOME/elasticsearch/logs | |
cp -p config/travis/elasticsearch-client.yml config/elasticsearch.yml | |
cat config/elasticsearch.yml | |
sed "s#__HOME__#$HOME#g;" config/travis/elasticsearch-server.yml > $HOME/elasticsearch/elasticsearch.yml | |
cat $HOME/elasticsearch/elasticsearch.yml | |
sed "s#__HOME__#$HOME#g;" config/travis/elasticsearch.sh > $HOME/elasticsearch/elasticsearch.sh | |
cat $HOME/elasticsearch/elasticsearch.sh | |
bash -x $HOME/elasticsearch/elasticsearch.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment