This commit is contained in:
t3chn0m4g3 2018-11-21 14:38:44 +00:00
parent ca9b569bfd
commit d0aae74e18
3 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,7 @@ myES="http://127.0.0.1:64298/"
myESSTATUS=$(curl -s -XGET ''$myES'_cluster/health' | jq '.' | grep -c green)
if ! [ "$myESSTATUS" = "1" ]
then
echo "### Elasticsearch is not available, try starting via 'systemctl start elk'."
echo "### Elasticsearch is not available, try starting via 'systemctl start tpot'."
exit
else
echo "### Elasticsearch is available, now continuing."

Binary file not shown.

Binary file not shown.