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