1#!/bin/sh 2# get the bitten env 3. ${HOME}/bin-build/stbitten-env.sh 4# get the tomcat env 5. ${HOME}/tomcat/env.sh 6# startup tomcat 7if [ -x ${HOME}/tomcat/CURRENT/bin/startup.sh ]; 8then 9 ${HOME}/tomcat/CURRENT/bin/startup.sh 10else 11 ${HOME}/tomcat/bin/startup.sh 12fi 13# startup bitten 14echo Firing up ${BUILDER_NAME} on `hostname` 15screen -d -m -S bitten-${BUILDER_NAME} bootloop.sh& 16