From a731d23214fbc2154975c077001d162cbf965816 Mon Sep 17 00:00:00 2001 From: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:39:37 -0300 Subject: [PATCH] Removing post-install message from wazuh-indexer.rpm.spec (#131) --- .../packages/src/rpm/wazuh-indexer.rpm.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec index ca1353142bee8..9f89b01056993 100644 --- a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec +++ b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec @@ -132,19 +132,11 @@ if command -v systemd-tmpfiles > /dev/null; then fi # Messages -echo "### NOT starting on installation, please execute the following statements to configure opensearch service to start automatically using systemd" +echo "### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd" echo " sudo systemctl daemon-reload" -echo " sudo systemctl enable opensearch.service" -echo "### You can start opensearch service by executing" -echo " sudo systemctl start opensearch.service" -if [ -d %{product_dir}/plugins/opensearch-security ]; then - echo "### Create opensearch demo certificates in %{config_dir}/" - echo " See demo certs creation log in %{log_dir}/install_demo_configuration.log" -fi -echo "### Upcoming breaking change in packaging" -echo " In a future release of OpenSearch, we plan to change the permissions associated with access to installed files" -echo " If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group" -echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" +echo " sudo systemctl enable wazuh-indexer.service" +echo "### You can start wazuh-indexer service by executing" +echo " sudo systemctl start wazuh-indexer.service" exit 0 %preun