# File lib/god/watch.rb, line 71
    def restart_if
      self.transition(:up, :restart) do |on|
        yield(on)
      end
    end