+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
+OPTIONS=" -Djetty.port=$PORT ${BOOTSTRAP_OPT} -Dcollection.configName=$NAME ${ZKRUN} -DzkHost=${ZKHOSTS} "