Sha256: 058c1c65da3bac3674236e43451edf64dd25bb775ee741be8a8d557d30078c4b

Contents?: true

Size: 560 Bytes

Versions: 5

Compression:

Stored size: 560 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

5 entries across 5 versions & 1 rubygems

Version Path
capitate-0.1.8 lib/recipes/deploy.rb
capitate-0.2.1 lib/recipes/deploy.rb
capitate-0.2.2 lib/recipes/deploy.rb
capitate-0.1.7 lib/recipes/deploy.rb
capitate-0.1.9 lib/recipes/deploy.rb