Created
April 2, 2012 15:22
-
-
Save tomoconnor/2284348 to your computer and use it in GitHub Desktop.
logstash-web.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| description "Logstash Web" | |
| start on runlevel [2345] | |
| stop on runlevel [06] | |
| respawn | |
| script | |
| test -d /var/log/logstash || mkdir /var/log/logstash | |
| test -d /var/lib/logstash || mkdir /var/lib/logstash | |
| cd /var/lib/logstash | |
| exec java -jar /usr/local/share/logstash/logstash-1.1.0-monolithic.jar web --log /var/log/logstash/logstash-web.out >> /var/log/logstash/logstash.web.log 2>&1 | |
| end script | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment