Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian package: improve wording in postinst script #3109

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ fi
systemd-tmpfiles --create opensearch-dashboards.conf

# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch-dashboards service to start automatically using systemd"
echo " sudo systemctl daemon-reload"
echo " sudo systemctl enable opensearch-dashboards.service"
echo "### You can start opensearch-dashboards service by executing"
echo " sudo systemctl start opensearch-dashboards.service"
echo "### NOT starting on installation, please execute the following command to configure the opensearch-dashboards service to start automatically"
echo " systemctl enable opensearch-dashboards.service"
echo "### You can start the opensearch-dashboards service by executing"
echo " systemctl start opensearch-dashboards.service"

# Set owner
chown -R opensearch-dashboards.opensearch-dashboards ${product_dir}
Expand Down
9 changes: 4 additions & 5 deletions scripts/pkg/build_templates/opensearch/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ sysctl -p /usr/lib/sysctl.d/opensearch.conf > /dev/null 2>&1
systemd-tmpfiles --create opensearch.conf

# Messages
echo "### NOT starting on installation, please execute the following statements to configure opensearch 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"
echo "### NOT starting on installation, please execute the following command to configure the opensearch service to start automatically"
echo " systemctl enable opensearch.service"
echo "### You can start the opensearch service by executing"
echo " systemctl start opensearch.service"

if [ -d ${product_dir}/plugins/opensearch-security ]; then
echo "### Create opensearch demo certificates in ${config_dir}/"
Expand Down