Changeset 35315 for gs3-extensions


Ignore:
Timestamp:
2021-08-20T23:08:55+12:00 (3 years ago)
Author:
davidb
Message:

Some refinement of the (echo) messages generated so the information presented in general doesn't sound quite so scary, when things are in fact still on track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/gs3-setup.sh

    r32432 r35315  
    3131done < $file
    3232
    33 echo "SOLR port: $SOLR_PORT"
    34 echo "SOLR host: $SOLR_HOST"
     33#echo "SOLR port: $SOLR_PORT"
     34#echo "SOLR host: $SOLR_HOST"
     35echo "  - Solr API accessed internally via: http://$SOLR_HOST:$SOLR_PORT/solr/"
    3536
    36 # If using jetty:
    37 # The port Jetty runs on:
    38 SOLR_JETTY_PORT=8983
     37## If using jetty:
     38## The port Jetty runs on:
     39#SOLR_JETTY_PORT=8983
    3940
    40 # The port Jetty listens on for a "stop" command
    41 JETTY_STOP_PORT=8079
     41## The port Jetty listens on for a "stop" command
     42#JETTY_STOP_PORT=8079
    4243
    4344
     
    5859fi
    5960   
    60 first_time=0;
     61#first_time=0;
    6162
    6263if [ "x$GEXT_SOLR" = "x" ] ; then
     64  echo "+ Setting up your environment for $extdesc ..."
    6365  export GEXT_SOLR=`pwd`
    6466
     
    8385  fi
    8486
    85   export SOLR_JETTY_PORT
    86   export JETTY_STOP_PORT
     87#  export SOLR_JETTY_PORT
     88#  export JETTY_STOP_PORT
    8789  export SOLR_PORT
    8890  export SOLR_HOST
    89   first_time=1
     91#  first_time=1
    9092
    91   echo "+Your environment is now setup for $extdesc"
     93  echo "+ ... Your environment is now setup for $extdesc"
    9294else
    93   echo "+Your environment is already setup for $extdesc"
     95  echo "+ Your environment is already setup for $extdesc"
    9496fi
    9597
    9698#echo "++Solr/Jetty server will run on port $SOLR_JETTY_PORT (+ port $JETTY_STOP_PORT for shutdown command)"
    9799
    98 if [ "$first_time" = "1" ] ; then
    99   echo "++Solr will run off the tomcat server on port $SOLR_PORT. "
    100   echo "-- This port value can be changed by editing tomcat.port in build.properties"
    101   echo ""
    102 fi
     100#if [ "$first_time" = "1" ] ; then
     101#  echo "++Solr will run off the tomcat server on port $SOLR_PORT. "
     102#  echo "-- This port value can be changed by editing tomcat.port in build.properties"
     103#  echo ""
     104#fi
Note: See TracChangeset for help on using the changeset viewer.