I am getting started with Monit and don't have a lot of systems knowledge. I have a Ruby app running on Puma. I want to use Monit to automatically restart Puma if it ever dies. I'm currently using the Puma provided Capistrano 2 recipe which uses the control script instead of outputting the PID to a file.
Is there a way to configure monit to check the status of Puma to see if it should be restarted?