Skip to content

Instantly share code, notes, and snippets.

@ilguzin
Created July 13, 2014 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilguzin/8b74bb8d4f2ebc879728 to your computer and use it in GitHub Desktop.
Save ilguzin/8b74bb8d4f2ebc879728 to your computer and use it in GitHub Desktop.
upstart carbon-cache.conf
description "Graphite Carbon Cache Daemon"
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# thanks, https://bugs.launchpad.net/graphite/+bug/922809/comments/3
script
ulimit -n 65000
exec /opt/graphite/bin/carbon-cache.py start
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment