Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated restart recipe to work w/ passenger

  • Loading branch information...
commit cb4275da6b29773f429d65af2189972b9d0d55ca 1 parent 9b767a6
@dce dce authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.