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 2023/05/18 15:51:32 UTC

[solr] branch main updated: SOLR-16798: Fix docker scripts startup command

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 753b2590b48 SOLR-16798: Fix docker scripts startup command
753b2590b48 is described below

commit 753b2590b4894cfd798c2d2adc9b194df26db229
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Thu May 18 11:51:01 2023 -0400

    SOLR-16798: Fix docker scripts startup command
---
 solr/docker/scripts/solr-fg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/docker/scripts/solr-fg b/solr/docker/scripts/solr-fg
index 658207847a2..ab1946d2dc3 100755
--- a/solr/docker/scripts/solr-fg
+++ b/solr/docker/scripts/solr-fg
@@ -36,9 +36,9 @@ if [[ -z "${TINI:-}" ]]; then
   fi
 fi
 if [[ "$TINI" == yes ]]; then
-  exec tini -- solr -f "$@"
+  exec tini -- solr start -f "$@"
 elif [[ "$TINI" == no ]]; then
-  exec solr -f "$@"
+  exec solr start -f "$@"
 else
   echo "invalid value TINI=$TINI"
   exit 1