Sha256: 49b5e2b4fa2f9e2a47289d9de6ebfeea76e7ef88c2bd57c11ba2f6a90d8afbaf

Contents?: true

Size: 564 Bytes

Versions: 6

Compression:

Stored size: 564 Bytes

Contents

<%
  @path = "#{rubber_env.graphite_dir}/conf/uwsgi.ini"

  is_old_ubuntu = rubber_instance.os_version == '12.04'
  log_dir = is_old_ubuntu ? "#{rubber_env.graphite_storage_dir}/log/webapp" : '/var/log/graphite'
%>

[uwsgi]
http=:<%= rubber_env.graphite_web_port %>
chdir=/opt/graphite/webapp
wsgi-file=<%= is_old_ubuntu ? '/opt/graphite/conf/graphite.wsgi' : '/usr/share/graphite-web/graphite.wsgi' %>
master=True
pidfile=/var/run/graphite-web.pid
processes=4
die-on-term=True
vacuum=True
max-requests=5000
daemonize=<%= log_dir %>/webapp.log
plugins=python,http

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
rubber-3.2.1 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
rubber-3.2.0 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
rubber-3.1.0 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
rubber-3.0.1 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini
rubber-3.0.0 templates/graphite/config/rubber/role/graphite_web/uwsgi.ini