Monit config for unicorn for deployment with capistrano
Add this line to your application's Gemfile: group: :development do gem 'capistrano-unicorn-monit', github: 'bypotatoes/capistrano-unicorn-monit' end
And then execute:
$ bundle
# Capfile
require 'capistrano/unicorn/monit'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
I was inpired with the 'capistrano/sidekiq/monit' part of capistrano-sidekiq gem.