diff --git a/distribution/packages/src/common/systemd/wazuh-indexer.service b/distribution/packages/src/common/systemd/wazuh-indexer.service index d4171152df3ca..3150db260722e 100644 --- a/distribution/packages/src/common/systemd/wazuh-indexer.service +++ b/distribution/packages/src/common/systemd/wazuh-indexer.service @@ -9,7 +9,7 @@ Type=notify RuntimeDirectory=wazuh-indexer PrivateTmp=true Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer -Environment=OPENSEARCH_TMPDIR=/var/log/wazuh-indexer/tmp +Environment=OPENSEARCH_TMPDIR=/var/lib/wazuh-indexer/tmp Environment=OPENSEARCH_PATH_CONF=${path.conf} Environment=PID_DIR=/run/wazuh-indexer Environment=OPENSEARCH_SD_NOTIFY=true