comparison logstash.rc @ 24:0f249d38da21

jruby.spec needs /usr/share to match fedora jrudy location
author Carl Byington <carl@five-ten-sg.com>
date Fri, 19 Apr 2013 17:48:29 -0700
parents 729f36e68da8
children d058481276aa
comparison
equal deleted inserted replaced
23:bb48b2672ff2 24:0f249d38da21
28 export HOME=/var/lib/logstash 28 export HOME=/var/lib/logstash
29 DESC="Logstash Daemon" 29 DESC="Logstash Daemon"
30 JAVA=$(which java) 30 JAVA=$(which java)
31 CONFIGFILE=/etc/logstash/logstash.conf 31 CONFIGFILE=/etc/logstash/logstash.conf
32 LOGFILE=/var/log/logstash/logstash.log 32 LOGFILE=/var/log/logstash/logstash.log
33 JARNAME=/usr/local/bin/logstash.jar 33 JARNAME=/usr/share/java/logstash.jar
34 ARGS="$JAVAARGS -jar $JARNAME agent --config $CONFIGFILE --log $LOGFILE $AGENTARGS -- web $WEBARGS" 34 ARGS="$JAVAARGS -jar $JARNAME agent --config $CONFIGFILE --log $LOGFILE $AGENTARGS -- web $WEBARGS"
35 PIDFILE=/var/run/logstash.pid 35 PIDFILE=/var/run/logstash.pid
36 base=logstash 36 base=logstash
37 37
38 # Exit if java is not installed 38 # Exit if java is not installed