Sha256: e4e784a402fc31a4f3ba8be5497aee448c345966ef1e88583001100a84f8b455

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

h1. mongrel-cluster:monit

 "home":../index.html > "recipes":index.html >  "mongrel-cluster":mongrel-cluster.html  >  monit  


h2. Tasks

* "mongrel:cluster:monit:setup":#mongrel:cluster:monit:setup 


h2. Task documentation

h3(#mongrel:cluster:monit:setup). mongrel:cluster:monit:setup

Create monit configuration for mongrel cluster.
  
*mongrel_application*: Name of application (monit group). _Defaults to <tt>"mongrel_cluster_#{fetch(:application)}"</tt>_
*mongrel_bin_path*: Path to mongrel command. _Defaults to <tt>/usr/bin/mongrel_rails</tt>_
*mongrel_size*: Number of mongrels.
  
@set :mongrel_size, 3@

*mongrel_port*: Starting port for mongrels. If there are 3 mongrels with port 9000, then instances 
will be at 9000, 9001, and 9002
    
@set :mongrel_port, 9000@
    
*mongrel_config_script*: Config script to load with mongrel. _Defaults to nil_
  
@set :mongrel_config_script, "config/mongrel_handler.rb"@
    
*monit_conf_dir*: Destination for monitrc. _Defaults to "/etc/monit"_
  
@set :monit_conf_dir, "/etc/monit"@



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capitate-0.2.6 docs/recipes/mongrel-cluster-monit.txt
capitate-0.2.7 docs/recipes/mongrel-cluster-monit.txt