Added debug symbols for config.sh

This commit is contained in:
Carlos Bordon
2025-12-03 14:45:33 -03:00
parent fc8262b791
commit 05aece7433
2 changed files with 8 additions and 2 deletions
@@ -1,5 +1,6 @@
# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2)
# This has to be exported to make some magic below work.
set -x
export DH_OPTIONS
export NAME=wazuh-dashboard
@@ -54,4 +55,6 @@ cp -pr /wazuh-certificates/admin-key.pem ${CONFIG_DIR}/certs/admin-key.pem
sed -i "s|/etc/wazuh-dashboard|${CONFIG_DIR}|g" ${CONFIG_DIR}/opensearch_dashboards.yml
chmod -R 500 ${CONFIG_DIR}/certs
chmod -R 400 ${CONFIG_DIR}/certs/*
chmod -R 400 ${CONFIG_DIR}/certs/*
set +x
@@ -1,5 +1,6 @@
# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2)
# This has to be exported to make some magic below work.
set -x
export DH_OPTIONS
export NAME=wazuh-indexer
@@ -63,4 +64,6 @@ sed -i 's/-Djava.security.policy=file:\/\/\/etc\/wazuh-indexer\/opensearch-perfo
chown -R ${USER}:${GROUP} ${CONFIG_DIR}
chmod -R 500 ${CONFIG_DIR}/certs
chmod -R 400 ${CONFIG_DIR}/certs/*
chmod -R 400 ${CONFIG_DIR}/certs/*
set +x