Sha256: 9bb1c4725001ddf6826ea87e2a9a18158278f01d5b91f91667c0224bf51328ab
Contents?: true
Size: 808 Bytes
Versions: 1
Compression:
Stored size: 808 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do ############################################################# # Passenger Restart ############################################################# namespace :passenger do desc "Restart Application" task :restart, :roles => [:app] do run "touch #{current_path}/tmp/restart.txt" end end ############################################################# # Passenger Status Checks ############################################################# namespace :passenger do desc "Check Passenger Status" task :status, :roles => [:app] do sudo 'passenger-status' end desc "Check Apache/Passenger Memory Usage" task :memory_stats, :roles => [:app] do sudo 'passenger-memory-stats' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thunder_punch-0.0.5 | lib/recipes/deployment/passenger.rb |