forked from wazuh/wazuh-docker
update docker kibana code
This commit is contained in:
@@ -11,7 +11,14 @@ until curl -XGET $host:9200; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
sleep 60
|
||||
sleep 30
|
||||
|
||||
>&2 echo "Elastic is up - executing command"
|
||||
|
||||
if /usr/share/kibana/bin/kibana-plugin list | grep wazuh; then
|
||||
echo "Wazuh APP already installed"
|
||||
else
|
||||
/usr/share/kibana/bin/kibana-plugin install http://packages.wazuh.com.s3-website-us-west-1.amazonaws.com/wazuhapp/wazuhapp.zip
|
||||
fi
|
||||
|
||||
exec $cmd
|
||||
|
||||
Reference in New Issue
Block a user