Created
July 13, 2014 21:18
-
-
Save ilguzin/8b74bb8d4f2ebc879728 to your computer and use it in GitHub Desktop.
upstart carbon-cache.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 "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