forked from wazuh/wazuh-docker
logstash need to apply until elastic work
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
#
|
||||
|
||||
set -e
|
||||
host="elasticsearch"
|
||||
until curl -XGET $host:9200; do
|
||||
>&2 echo "Elastic is unavailable - sleeping"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Add logstash as command if needed
|
||||
if [ "${1:0:1}" = '-' ]; then
|
||||
|
||||
Reference in New Issue
Block a user