sudo apt-get install monit
Unomment several lines in monitrc config:
sudo vim /etc/monit/monitrc
# Search lines and uncomment:
set httpd port 2812 and
use address localhost # only accept connection from localhost
allow localhost # allow localhost to connect to the server and
require 'capistrano/puma/monit'
cap production puma:monit:config
cap production deploy