God.watch do |w|
  w.name = "farmbot_rpi_controller"
  w.dir = File.expand_path(File.dirname(__FILE__))
  w.start = "ruby farmbot.rb"
  w.keepalive
end

God.watch do |w|
  w.name = "farmbot_rpi_controller"
  w.dir = File.expand_path(File.dirname(__FILE__))
  w.start = "ruby farmbot.rb"
  w.keepalive(memory_max: 150.megabytes,
              cpu_max:     50.percent)
end

Add sensible CPU/Mem restart thresholds
Add sensible CPU/Mem restart thresholds
