public
Description: CapistranoMonit is a Capistrano Plugin that adds functionality to setup/configure the control file for monit and adds "restart" functionality to apply those changes.
Homepage:
Clone URL: git://github.com/seebq/capistrano_monit.git
seebq (author)
Tue Jun 24 04:59:02 -0700 2008
commit  ea2d3b178f030d7bb8861cebb7fde73913dce46d
tree    74b2f011efb161eff24a7ae7519fba5695a719a7
name age message
file MIT-LICENSE Loading commit data...
file README
file init.rb
directory recipes/
README
CapistranoMonit: A Capistrano Plugin
====================================

CapistranoMonit is a Capistrano Plugin that adds functionality to setup/configure the control file for monit and adds 
"restart" functionality to apply those changes.


Setup
=====

CapistranoMonit requires the following variables:

set :domain, "yourserver.com"
set :mongrel_port, "8000"

CapistranoMonit also allows you to customize the following variables:

set :monit_daemon_interval, "120"
set :monit_alert_email, "you@example.com"

Simply define them in your capistrano config/deploy.rb.


Example
=======

After installation and adding the appropriate monit variables:

$ cap monit:setup
$ cap monit:restart

You can even make sure the monit setup gets run after your setup tasks, in your deploy.rb file:

after "servers:setup", "monit:setup"


Copyright (c) 2008 Charles Brian Quinn <cbq@highgroove.com>, released under the MIT license