Hi Anders,
I set up my mongrel clusters to work with capistrano by adding the
following to my deploy.rb:

require 'mongrel_cluster/recipes'

# == MONGREL
===================================================================
namespace :mongrel do
  desc "Restart mongrel"
  task :restart, :roles => :app do
     restart_mongrel_cluster
  end

  desc "Start mongrel"
  task :start, :roles => :app do
     start_mongrel_cluster
  end

  desc "Stop mongrel"
  task :stop, :roles => :app do
     stop_mongrel_cluster
  end
end

Check out the mongrel_cluster/recipes to change the functionality
(i.e. remove --clean). I know you will have to use a recent version of
mongrel cluster for the --clean option.

regards,
John



On Jun 13, 2:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> When I restart mongrel through capistrano it include "--clean", which
> mongrel_cluster do not know. The mongrel cluster is version 1.0.5.
>
> Anyone know why capistrano do this? And how to make it work?
>
> Thanks in advance
> Anders Hansen
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to