From f4d1288e5d565cab80ad36c8ce6ad2d3b574644a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 10 Sep 2024 19:02:26 +0200 Subject: [PATCH] Fix Performance Analyzer service file (#391) --- .../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]