runT2proxy.sh 625B

123456789101112131415
  1. #!/bin/sh
  2. # If the httpclient and logging jars are not in the standard directories
  3. # edit and uncomment
  4. # CP='-cp /usr/local/lib/commons-httpclient-2.0-rc1.jar:/usr/local/lib/commons-logging-api.jar:/usr/local/lib/commons-logging.jar'
  5. # Edit and uncomment to use an alternate port
  6. # PORT='-DT2hproxy.port=1069'
  7. PREFIX='-DT2hproxy.prefix=http://localhost/'
  8. # Edit and uncomment to use a proxy
  9. # PROXY='-DT2hproxy.proxy=localhost:3128'
  10. # These T2hproxy properties can be put in a file and read in all at once
  11. # PROPERTIES='-DT2hproxy.properties=t2hproxy.prop
  12. exec java -jar $CP $PORT $PREFIX $PROXY $PROPERTIES T2hproxy.jar