From afe0d762c09f701a1030c68ee0a1eff6086298bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 10 Sep 2024 18:45:15 +0200 Subject: [PATCH] Fix Performance Analyzer service file --- .../src/common/wazuh-indexer-performance-analyzer.service | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/distribution/packages/src/common/wazuh-indexer-performance-analyzer.service b/distribution/packages/src/common/wazuh-indexer-performance-analyzer.service index dfd3770f8300c..c744071b958b3 100644 --- a/distribution/packages/src/common/wazuh-indexer-performance-analyzer.service +++ b/distribution/packages/src/common/wazuh-indexer-performance-analyzer.service @@ -6,15 +6,16 @@ # compatible open source license. [Unit] -Description=wazuh-indexer Performance Analyzer +Description=OpenSearch Performance Analyzer [Service] Type=simple -ExecStart=/usr/share/wazuh-indexer/bin/wazuh-indexer-performance-analyzer/performance-analyzer-agent-cli +ExecStart=/usr/share/wazuh-indexer/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli Restart=on-failure User=wazuh-indexer Group=wazuh-indexer -EnvironmentFile=-/etc/sysconfig/wazuh-indexer +Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer +Environment=OPENSEARCH_PATH_CONF=/etc/wazuh-indexer/ WorkingDirectory=/usr/share/wazuh-indexer [Install]