Skip to content

jiajiawang/capistrano-monit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capistrano::Monit

Capistrano tasks for automatic monit configuration

Installation

Add this line to your application's Gemfile:

gem 'capistrano-monit', github: 'jiajiawang/capistrano-monit'

Then execute:

$ bundle install

And then add to Capfile:

$ require 'capistrano/monit'

Usage

Put your monitrc template file in config/deploy/templates/monitrc.erb

Or generate a default template using

$ rails generate capistrano:monit:config

Deploy monitrc

$ cap monit:setup 

Start, stop or restart monit process by using

$ cap monit:start
$ cap monit:stop
$ cap monit:restart

Thanks

bruno- - This gem is inspired from capistrano-unicorn-nginx

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages