Skip to content

Commit

Permalink
Move wazuh-indexer-performance-analyzer.service to common
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Dec 27, 2023
1 parent 0e749a2 commit 1c358da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1c358da

Please sign in to comment.