Skip to content

Instantly share code, notes, and snippets.

@michaelesmith
Created May 8, 2013 15:07
Show Gist options
  • Save michaelesmith/5541092 to your computer and use it in GitHub Desktop.
Save michaelesmith/5541092 to your computer and use it in GitHub Desktop.
logstash.conf
#/etc/init/logstash.conf
description "logstash collector server"
#start on runlevel [5]
#stop on runlevel [!5]
# tell upstart we're creating a daemon
# upstart manages PID creation for you.
expect fork
respawn
respawn limit 2 5
exec /var/lib/logstash/logstash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment