update to the last template versions

This commit is contained in:
Jose Luis Ruiz
2017-01-16 23:41:25 +01:00
parent 96d3193668
commit be5fd14e16
8 changed files with 207 additions and 48 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
set -e
host="$1"
shift
cmd="$@"
until curl -XGET $host:9200; do
>&2 echo "Elastic is unavailable - sleeping"
sleep 1
done
>&2 echo "Elastic is up - executing command"
exec $cmd