Skip to content

Commit

Permalink
finally done
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Jul 21, 2011
1 parent 1f6a4bc commit 7447166
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/graphite/graphite.rb
Expand Up @@ -4,7 +4,7 @@ class Graphite < DebianFormula
md5 '1822e5db0535d7b0ce1f29c013b29c1f'

name 'graphite'
version '0.9.8+github2'
version '0.9.8+github3'
section 'python'
description 'Enterprise scalable realtime graphing'

Expand All @@ -28,7 +28,9 @@ class Graphite < DebianFormula
]

config_files \
'/etc/graphite/dashboard.conf'
'/etc/graphite/dashboard.conf',
'/etc/graphite/gunicorn.conf.py',
'/usr/share/graphite/webapp/graphite/local_settings.py'

def patches
[
Expand Down Expand Up @@ -56,7 +58,7 @@ def install
end

open etc/'graphite/gunicorn.conf.py', 'w' do |f|
f.puts "name = 'graphite'"
f.puts "proc_name = 'graphite'"
f.puts "bind = '0.0.0.0:8000'"
f.puts "workers = 4"
f.puts "logfile = '/var/log/graphite/gunicorn.log'"
Expand Down

0 comments on commit 7447166

Please sign in to comment.