Skip to content
Browse files

Updated restart recipe to work w/ passenger

  • Loading branch information...
1 parent 9b767a6 commit cb4275da6b29773f429d65af2189972b9d0d55ca @dce dce committed Oct 26, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 config/deploy.example.rb
View
5 config/deploy.example.rb
@@ -53,6 +53,11 @@
finalize_update
end
+ desc "Restart the application"
+ task :restart, :except => { :no_release => true } do
+ run "cd #{current_path}; touch tmp/restart.txt"
+ end
+
namespace :rollback do
desc "Moves the repo back to the previous version of HEAD"
task :repo, :except => { :no_release => true } do

0 comments on commit cb4275d

Please sign in to comment.
Something went wrong with that request. Please try again.