+ echo "No options file ($OPTIONS). Using defaults."
+fi
+let ZKPORT=$PORT+1000
+if [ "$ZKHOSTS" == "" ] ; then
+ ZKHOSTS=${HOST}:${ZKPORT}
+fi
+
+if [ "$BOOTSTRAP_CONF" != "" ] ; then
+ BOOTSTRAP_OPT="-Dbootstrap_confdir=$BOOTSTRAP_CONF"
+fi
+if [ "$PORT" == "" ] ; then
+ echo Port missing
+
+fi
+if [ "$ZKHOSTS" == "" ] ; then
+ echo ZKHOSTS missing
+fi
+if [ "$SHARDS" == "" ] ; then
+ echo SHARDS missing
+fi
+if [ "$ZOOKEEPER" == "yes" ] ; then
+ ZKRUN="-DzkRun -DnumShards=${SHARDS}"
+fi
+if [ "${SOLR_HOME}" != "" ] ; then
+ SOLR_HOME_OPT="-Dsolr.solr.home=${SOLR_HOME}"