Skip to content

Instantly share code, notes, and snippets.

@dakatsuka
Created April 11, 2012 06:46
Show Gist options
  • Save dakatsuka/2357413 to your computer and use it in GitHub Desktop.
Save dakatsuka/2357413 to your computer and use it in GitHub Desktop.
fluentd upstart script
description "Fluentd"
start on runlevel [2345]
stop on runlevel [016]
respawn
respawn limit 5 60
exec sudo -u fluentd /opt/fluentd/usr/bin/fluentd -c /opt/fluentd/etc/fluent.conf --log /opt/fluentd/var/log/fluentd.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment