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