mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-11 10:22:13 +08:00
1. 更改es初始化脚本输出追加为重定向
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
echo "Wait ElasticSearch Start..."
|
||||
while true
|
||||
do
|
||||
curl -s --connect-timeout 10 -o /dev/null http://${SERVER_ES_ADDRESS}/_cat/nodes >> /dev/null 2>&1
|
||||
curl -s --connect-timeout 10 -o /dev/null http://${SERVER_ES_ADDRESS}/_cat/nodes > /dev/null 2>&1
|
||||
if [ "$?" != "0" ];then
|
||||
sleep 1s
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user