How to configure Monit for use with Puma Ruby Web Server?

This is for Capistrano 3.

You can use the "official" Capistrano recipe for Puma. https://github.com/seuros/capistrano-puma

It has monit scripts built-in to monitor puma server processes. Just include require 'capistrano/puma/monit' in your Capfile. And run cap <stage> puma:monit:config . That's it.