blob: 336104b3e33e53f9aa8a06bb19ce0bfb75b817e2 [file] [log] [blame]
#!/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 "$@"