Skip to content

Instantly share code, notes, and snippets.

@eric
Created September 11, 2012 19:03
Show Gist options
  • Save eric/3700969 to your computer and use it in GitHub Desktop.
Save eric/3700969 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