Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-16798: Fix docker scripts startup command

Eric Pugh753b2590b489
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