Sha256: 9a002fe94bfc5845d05c4e83127e7fc07308754dd5fa91c9abdcb5fb2232a7d1

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

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_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

1 entries across 1 versions & 1 rubygems

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