anchor.diff:    $JAVA $ARGS > /dev/null 1>&1 &
   
     RETVAL=$?
  -  local PID=`pgrep -f "${DAEMON} ${ARGS}"`
  +  local PID=`pgrep -f "${JAVA} ${ARGS}"`
     echo $PID > $PID_FILE
     success
   }
  
positive.code:     exit 1
    fi
  
    if ! test -e "${JAR}"; then
      echo "Daemon $DAEMON doesn't exist"
      exit 1
    fi
  
  
negative.code: PID_FILE=/var/run/$NAME.pid
  
  JAVA=`which java`
  ARGS="${LS_JAVA_OPTS} -jar ${LS_JAR} agent --config ${CONF_DIR} --log ${LOG_FILE} -w ${FILTER_THREADS}"
  DAEMON=$LS_JAR
  
  is_true() {
      if [ "x$1" = "xtrue" -o "x$1" = "xyes" -o "x$1" = "x1" ] ; then
  