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