Sha256: d1b8d810c72cbe9ca474f1b8b99ab2f714e0bc26c483e6b809de9216d2763533

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

<%
  @path = "/etc/init/graphite-server.conf"
  @backup = false

  is_old_ubuntu = rubber_instance.os_version == '12.04'
  @skip = ! is_old_ubuntu
%>
description "graphite server"

start on runlevel [2345]
stop on runlevel [!2345]

env CARBON_CACHE=<%= rubber_env.graphite_dir %>/bin/carbon-cache.py
env PIDFILE=/var/run/graphite-server.pid
env LOGDIR=<%= rubber_env.graphite_storage_dir %>/log/carbon-cache

kill timeout 5

post-stop exec $CARBON_CACHE --pidfile=$PIDFILE --debug stop

script
  ulimit -n 65000

  mkdir -p $LOGDIR
  exec $CARBON_CACHE --pidfile=$PIDFILE --debug start >> $LOGDIR/console.log 2>&1
end script

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf
rubber-3.2.1 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf
rubber-3.2.0 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf
rubber-3.1.0 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf
rubber-3.0.1 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf
rubber-3.0.0 templates/graphite/config/rubber/role/graphite_server/graphite_server-upstart.conf