# File lib/god/watch.rb, line 16 def initialize(meddle) @meddle = meddle # no grace period by default self.grace = 0 # the list of behaviors self.behaviors = [] # the list of conditions for each action self.metrics = {:init => [], :start => [], :restart => [], :up => []} # mutex self.mutex = Mutex.new end