Sha256: 0094f551d8abef41b4c3f72255cd82f9590eff40eb4b49961e56fddcaccb3fc1

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

# Override default deploy tasks here (using Monit). 
# If not using monit, use service start/stop, #sudo "/sbin/service mongrel_cluster_#{application} restart"     
namespace :deploy do
  
  task :restart, :roles => :web do     
    sudo "/usr/local/bin/monit -g mongrel_cluster_#{application} restart all"
  end
  
  task :start, :roles => :web do 
    sudo "/usr/local/bin/monit -g mongrel_cluster_#{application} start all" 
  end
  
  task :stop, :roles => :web do 
    sudo "/usr/local/bin/monit -g mongrel_cluster_#{application} stop all" 
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capigen-0.1.1 recipes/deploy.rb
capigen-0.1.2 lib/recipes/deploy.rb
capigen-0.1.3 lib/recipes/deploy.rb
capigen-0.1.4 lib/recipes/deploy.rb