Permalink
Browse files

fixed deploy

  • Loading branch information...
1 parent 0eb84d0 commit 94f5952b97b38963eb35c42c188506c086242102 @adamhunter committed Oct 17, 2009
Showing with 7 additions and 1 deletion.
  1. +7 −1 config/deploy.rb
View
@@ -15,7 +15,13 @@
role :db, domain, :primary => true
namespace :deploy do
- [:start, :stop, :finalize_update, :restart].each do |t|
+ desc "Restarting mod_rails with restart.txt"
+ task :restart, :roles => :app, :except => { :no_release => true } do
+ run "touch #{current_path}/tmp/restart.txt"
+ end
+
+
+ [:start, :stop].each do |t|
desc "#{t} task is a no-op with just mod_rails"
task t, :roles => :app do ; end
end

0 comments on commit 94f5952

Please sign in to comment.