anchor.diff:    fi
   }
   
  -function isrunning() {
  +isrunning() {
     findpid
   
     if [ "$pid" == "" ]; then
  
positive.code:   $SU tomcat -c "umask 0002; $CATALINA_HOME/bin/catalina.sh start" > /dev/null
  }
  
  function stop() {
    isrunning
  
    if [ "$?" == 1 ]; then
  
negative.code:   ! isrunning
  }
  
  findpid() {
    pid=""
    pid=$(pgrep -U tomcat -f "^$JAVA_HOME/bin/java.*catalina.base=<%= basedir %>")
  
  