Sha256: 9a2b088b485430f28951b51764a899e6a0555496d342636fb657902828c6ad2e
Contents?: true
Size: 471 Bytes
Versions: 5
Compression:
Stored size: 471 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do namespace :passenger do [:start, :stop].each do |t| task t, :roles => :app do puts "The :#{t} task no effect when using Passenger as your application server." end end desc <<-DESC Restart the Passenger processes on the app server by touching tmp/restart.txt. DESC task :restart, :roles => :app do run "touch #{current_path}/tmp/restart.txt" end end end
Version data entries
5 entries across 5 versions & 2 rubygems