All pastes #926720 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-03 20:27 UTC
rendered paste body
#!/bin/zsh
. ./path.sh
REGGIE="/lib/jini/reggie.jar"
POLICY="conf/policy.all"
HOST=`hostname -i`
PORT="8081"
CODEBASE="http://$HOST:$PORT/reggie-dl.jar"
LOG="/NOW1/reggie_log"
DEBUG="-Dnet.jini.discovery.debug=true -Dcom.sun.jini.reggie.proxy.debug=true"
SLASH="/"


if [ -d $LOG ]
then
        rm -rf $LOG
fi
 #xecute the Lookup
echo "using Codebase - $HTTP_CODEBASE"
java -Djava.security.policy=${SLASH} ${POLICY} -jar ${REGGIE} ${HTTP_CODEBASE} ${POLICY} ${LOG} public ${DEBUG}