solr: final typos

This commit is contained in:
Brendan Early 2021-05-10 20:17:51 -05:00
parent 156f69bee1
commit 6b7b396979
No known key found for this signature in database
GPG key ID: 25CF7F7DE2FF5AA9

View file

@ -25,7 +25,7 @@ if [[ "$VERBOSE" == "yes" ]]; then
fi fi
EXTRA_ARGS=() EXTRA_ARGS=()
EXTRA_ARGS+=(-a '-p 8983') EXTRA_ARGS+=(-p 8983)
# Start of https://github.com/docker-solr/docker-solr/blob/master/scripts/solr-fg # Start of https://github.com/docker-solr/docker-solr/blob/master/scripts/solr-fg
if [[ -z "${OOM:-}" ]]; then if [[ -z "${OOM:-}" ]]; then
@ -64,9 +64,9 @@ if [[ -z "${TINI:-}" ]]; then
fi fi
fi fi
if [[ "$TINI" == yes ]]; then if [[ "$TINI" == yes ]]; then
exec /usr/bin/tini -- solr -f "$@" "${EXTRA_ARGS[@]}" exec /usr/bin/tini -- solr -f "${EXTRA_ARGS[@]}"
elif [[ "$TINI" == no ]]; then elif [[ "$TINI" == no ]]; then
exec solr -f "$@" "${EXTRA_ARGS[@]}" exec solr -f "${EXTRA_ARGS[@]}"
else else
echo "invalid value TINI=$TINI" echo "invalid value TINI=$TINI"
exit 1 exit 1