Skip to content

Instantly share code, notes, and snippets.

@ryanjones
Forked from eric/remote_syslog.god
Created October 23, 2012 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjones/3940206 to your computer and use it in GitHub Desktop.
Save ryanjones/3940206 to your computer and use it in GitHub Desktop.
God.watch do |w|
w.name = 'remote_syslog'
w.interval = 7.seconds
w.log = File.join(RAILS_ROOT, 'log', "#{w.name}-god.log")
w.dir = RAILS_ROOT
w.start = "bundle exec remote_syslog --tls -D -c #{RAILS_ROOT}/config/remote_syslog.yml"
w.keepalive(:memory_max => 150.megabytes)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment