Browse files

carbon cache upstart configuration

  • Loading branch information...
1 parent dc51133 commit 38dd8ca5e23c514a4352c5025fa88cd58681c051 @dje dje committed Dec 2, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 templates/default/carbon-cache.conf.erb
View
11 templates/default/carbon-cache.conf.erb
@@ -0,0 +1,11 @@
+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
+
+exec sudo -u www-data /opt/graphite/bin/carbon-cache.py start

0 comments on commit 38dd8ca

Please sign in to comment.