mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-14 19:05:39 +00:00
Check if xpack is enabled
This commit is contained in:
@@ -38,7 +38,7 @@ if [ $ENABLE_CONFIGURE_S3 ]; then
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ ${ENABLED_XPACK} = "true" ]; then
|
||||
curl -XPUT "$el_url/_cluster/settings" ${auth} -H 'Content-Type: application/json' -d'
|
||||
{
|
||||
"persistent": {
|
||||
@@ -46,6 +46,7 @@ curl -XPUT "$el_url/_cluster/settings" ${auth} -H 'Content-Type: application/jso
|
||||
}
|
||||
}
|
||||
'
|
||||
fi
|
||||
|
||||
# Set cluster delayed timeout when node falls
|
||||
curl -X PUT "$el_url/_all/_settings" -H 'Content-Type: application/json' -d'
|
||||
|
||||
Reference in New Issue
Block a user