From 3589d3e2838f757bfbd06884bc756f6f1415987f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Acu=C3=B1a?= Date: Tue, 13 Dec 2022 13:32:47 -0300 Subject: [PATCH] Uncomment Xmx and Xms sed --- build-docker-images/wazuh-indexer/config/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-docker-images/wazuh-indexer/config/config.sh b/build-docker-images/wazuh-indexer/config/config.sh index 8399ed5f..ca3d6b24 100644 --- a/build-docker-images/wazuh-indexer/config/config.sh +++ b/build-docker-images/wazuh-indexer/config/config.sh @@ -131,8 +131,8 @@ cp -pr /wazuh-certificates/admin.pem ${TARGET_DIR}${CONFIG_DIR}/certs/admin.pem cp -pr /wazuh-certificates/admin-key.pem ${TARGET_DIR}${CONFIG_DIR}/certs/admin-key.pem # Delete xms and xmx parameters in jvm.options -#sed '/-Xms/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options -#sed '/-Xmx/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options +sed '/-Xms/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options +sed '/-Xmx/d' -i ${TARGET_DIR}${CONFIG_DIR}/jvm.options chmod -R 500 ${TARGET_DIR}${CONFIG_DIR}/certs chmod -R 400 ${TARGET_DIR}${CONFIG_DIR}/certs/* \ No newline at end of file