Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 11 lines (8 sloc) 0.257 kb
1 2 3 4 5 6 7 8 9 10
namespace :deploy do
  task :restart_passenger do
    puts "restarting Passenger web server"
    Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__), 'tmp')))
    system("touch restart.txt")
  end

  task :post_deploy => [ :restart_passenger ]
end

Something went wrong with that request. Please try again.