lucene/solr/docker/include/scripts/solr-foreground

16 lines
267 B
Bash
Executable File

#!/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 "$@"