Sha256: 73beba0cfd088751db280ac0d037286639af431852f1f22f63f5be27d655ded1
Contents?: true
Size: 698 Bytes
Versions: 3
Compression:
Stored size: 698 Bytes
Contents
@@cap_config.load do namespace :passenger do desc "Restart Rails app running under Phusion Passenger by touching restart.txt" task :bounce, :roles => :app do run "#{sudo} touch #{current_path}/tmp/restart.txt" end desc "Inspect Phusion Passenger's memory usage. Assumes binaries are located in /opt/ruby-enterprise." task :memory, :roles => :app do run "#{sudo} /opt/ruby-enterprise/bin/passenger-memory-stats" end desc "Inspect Phusion Passenger's internal status. Assumes binaries are located in /opt/ruby-enterprise." task :status, :roles => :app do run "#{sudo} /opt/ruby-enterprise/bin/passenger-status" end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
webficient-capistrano-recipes-0.2.0 | lib/recipes/passenger.rb |
webficient-capistrano-recipes-0.3.0 | lib/recipes/passenger.rb |
capistrano-recipes-0.4.0 | lib/recipes/passenger.rb |