Sha256: 7d61b3b883b481de739fc35775c4a0a712938b1ffd7784971f8f8d6f100d0b64
Contents?: true
Size: 723 Bytes
Versions: 13
Compression:
Stored size: 723 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).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
13 entries across 13 versions & 2 rubygems