mirror of https://github.com/apache/lucene.git
16 lines
267 B
Plaintext
16 lines
267 B
Plaintext
|
#!/bin/bash
|
||
|
#
|
||
|
# Run the initdb, then start solr in the foreground
|
||
|
set -e
|
||
|
|
||
|
if [[ "$VERBOSE" == "yes" ]]; then
|
||
|
set -x
|
||
|
fi
|
||
|
|
||
|
# init script for handling an empty /var/solr
|
||
|
/opt/docker-solr/scripts/init-var-solr
|
||
|
|
||
|
. /opt/docker-solr/scripts/run-initdb
|
||
|
|
||
|
exec solr-fg "$@"
|