You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2025/03/21 18:43:59 UTC
(solr) branch main updated: Update taking-solr-to-production.adoc (#3252)
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new d4b94d28437 Update taking-solr-to-production.adoc (#3252)
d4b94d28437 is described below
commit d4b94d2843771252a4a84ef4a8496e9817bb0216
Author: Brian Kysela <bk...@users.noreply.github.com>
AuthorDate: Fri Mar 21 14:43:55 2025 -0400
Update taking-solr-to-production.adoc (#3252)
Solr 9.8 start script `bin/solr` reads `SOLR_INCLUDE` environment variable not `SOLR_ENV`.
---
.../modules/deployment-guide/pages/taking-solr-to-production.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/taking-solr-to-production.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/taking-solr-to-production.adoc
index 2d904a5d1ff..13a5d4cddcb 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/taking-solr-to-production.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/taking-solr-to-production.adoc
@@ -159,11 +159,11 @@ The installation script creates a very basic systemd service to help you get sta
[source,bash]
----
SOLR_INSTALL_DIR=/opt/solr
-SOLR_ENV=/etc/default/solr.in.sh
+SOLR_INCLUDE=/etc/default/solr.in.sh
RUNAS=solr
----
-The `SOLR_INSTALL_DIR` and `SOLR_ENV` variables should be self-explanatory. The `RUNAS` variable sets the owner of the Solr process, such as `solr`; if you don’t set this value, the script will run Solr as **root**, which is not recommended for production. You can start Solr by doing the following as root:
+The `SOLR_INSTALL_DIR` and `SOLR_INCLUDE` variables should be self-explanatory. The `RUNAS` variable sets the owner of the Solr process, such as `solr`; if you don’t set this value, the script will run Solr as **root**, which is not recommended for production. You can start Solr by doing the following as root:
[source,bash]
----