From 1c358da06f737b3e5a5166068bf05d0ac98146f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Wed, 27 Dec 2023 19:11:26 +0100 Subject: [PATCH] Move wazuh-indexer-performance-analyzer.service to common --- .../wazuh-indexer-performance-analyzer.service | 0 scripts/assemble.sh | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename distribution/packages/src/{rpm => common}/wazuh-indexer-performance-analyzer.service (100%) diff --git a/distribution/packages/src/rpm/wazuh-indexer-performance-analyzer.service b/distribution/packages/src/common/wazuh-indexer-performance-analyzer.service similarity index 100% rename from distribution/packages/src/rpm/wazuh-indexer-performance-analyzer.service rename to distribution/packages/src/common/wazuh-indexer-performance-analyzer.service diff --git a/scripts/assemble.sh b/scripts/assemble.sh index 99c553e69d88e..8846524d464e5 100755 --- a/scripts/assemble.sh +++ b/scripts/assemble.sh @@ -200,7 +200,7 @@ function assemble_rpm() { cp "distribution/packages/src/rpm/wazuh-indexer.rpm.spec" "${TMP_DIR}" # Copy performance analyzer service file mkdir -p "${TMP_DIR}"/usr/lib/systemd/system - cp "distribution/packages/src/rpm/wazuh-indexer-performance-analyzer.service" "${TMP_DIR}"/usr/lib/systemd/system + cp "distribution/packages/src/common/wazuh-indexer-performance-analyzer.service" "${TMP_DIR}"/usr/lib/systemd/system cd "${TMP_DIR}" local src_path="./usr/share/wazuh-indexer" @@ -270,7 +270,7 @@ function assemble_deb() { chmod a+x "${TMP_DIR}/debmake_install.sh" # Copy performance analyzer service file mkdir -p "${TMP_DIR}"/usr/lib/systemd/system - cp "distribution/packages/src/rpm/wazuh-indexer-performance-analyzer.service" "${TMP_DIR}"/usr/lib/systemd/system + cp "distribution/packages/src/common/wazuh-indexer-performance-analyzer.service" "${TMP_DIR}"/usr/lib/systemd/system cd "${TMP_DIR}" local src_path="./usr/share/wazuh-indexer" @@ -321,7 +321,7 @@ function assemble_deb() { # Move to the root folder, copy the package and clean. cd ../../.. package_name="wazuh-indexer_${version}_${SUFFIX}.${EXT}" - # debmake creates the package one level up + # debmake creates the package one level above cp "${TMP_DIR}/../${package_name}" "${OUTPUT}/dist/" echo "Cleaning temporary ${TMP_DIR} folder"