This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new c6d5ea64287 Update install_solr_service.sh (#3778)
c6d5ea64287 is described below
commit c6d5ea64287698c46d47718f1187fd8204053825
Author: Andreas Rütten <[email protected]>
AuthorDate: Tue Oct 28 21:31:53 2025 +0100
Update install_solr_service.sh (#3778)
* Update install_solr_service.sh, adding Amazon Linux as known distro
---------
Co-authored-by: Eric Pugh <[email protected]>
---
changelog/unreleased/pr/3778.yml | 6 ++++++
solr/bin/install_solr_service.sh | 2 ++
2 files changed, 8 insertions(+)
diff --git a/changelog/unreleased/pr/3778.yml b/changelog/unreleased/pr/3778.yml
new file mode 100644
index 00000000000..61b3409636a
--- /dev/null
+++ b/changelog/unreleased/pr/3778.yml
@@ -0,0 +1,6 @@
+# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
+title: Add Amazon Linux as known distro for installing Solr as a service.
+type: added # added, changed, fixed, deprecated, removed, dependency_update,
security, other
+authors:
+ - name: Eric Pugh
+ - name: Andreas Rütten
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.sh
index 479adf8263a..75e159c17eb 100755
--- a/solr/bin/install_solr_service.sh
+++ b/solr/bin/install_solr_service.sh
@@ -71,6 +71,8 @@ for command in "grep -E \"^NAME=\" /etc/os-release" \
distro=Debian
elif [[ ${distro_string,,} == *"red hat"* ]]; then
distro=RedHat
+ elif [[ ${distro_string,,} == *"amazon"* ]]; then
+ distro=RedHat
elif [[ ${distro_string,,} == *"centos"* ]]; then
distro=CentOS
elif [[ ${distro_string,,} == *"ubuntu"* ]]; then