Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 439 Bytes
God.load 'jabber_contacts.god'
God.watch do |w|
w.name = "leaky"
w.interval = 5.second
w.start = 'ruby ' + File.dirname(__FILE__) + '/scripts/leaky.rb'
w.start_if do |start|
start.condition(:process_running) do |c|
c.running = false
end
end
w.restart_if do |restart|
restart.condition(:memory_usage) do |c|
c.above = 2.megabytes
c.notify = 'jesse'
end
end
end
Something went wrong with that request. Please try again.