comparison logstash.rc @ 5:6b7beb807d14

add dnsbl patterns
author Carl Byington <carl@five-ten-sg.com>
date Fri, 22 Mar 2013 10:31:48 -0700
parents 29ffaf4e0a7f
children e4ba03940224
comparison
equal deleted inserted replaced
4:29ffaf4e0a7f 5:6b7beb807d14
47 # 47 #
48 do_start() { 48 do_start() {
49 cd $HOME 49 cd $HOME
50 pid=$( 50 pid=$(
51 exec sudo -u logstash /bin/bash - <<EOF 51 exec sudo -u logstash /bin/bash - <<EOF
52 $JAVA $ARGS </dev/null >$LOGFILE 2>&1 & 52 $JAVA $ARGS
53 echo \$! 53 echo \$!
54 EOF 54 EOF
55 ) 55 )
56 #pid=$(su logstash -c 'echo -e "'"$JAVA $ARGS"' </dev/null >'"$LOGFILE"' 2>&1 & \n echo \$!" | bash') 56 #pid=$(su logstash -c 'echo -e "'"$JAVA $ARGS"' </dev/null >'"$LOGFILE"' 2>&1 & \n echo \$!" | bash')
57 echo $pid >$PIDFILE 57 echo $pid >$PIDFILE