Skip to content

Commit

Permalink
added delayed_job clarification, start command in deploy.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Skomoroch committed Jun 18, 2009
1 parent 87ffe33 commit d7e7777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ To manually restart the apache service or mongrels:
$ cap ec2onrails:server:restart_services
$ cap deploy:restart
</pre>
To manually stop and start the delayed_job workers:
If the job processor is stuck waiting for instances, you might need to ensure the delayed_job worker is running. You can manually stop and start the delayed_job workers as follows:
<pre>
$ cap delayed_job:stop
$ cap delayed_job:start
Expand Down
2 changes: 1 addition & 1 deletion config/deploy.rb.example
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ namespace :delayed_job do
end

before "deploy:start", "delayed_job:stop"
after "deploy:start", "delayed_job:restart"
after "deploy:start", "delayed_job:start"
after "deploy:stop", "delayed_job:stop"
after "deploy:restart", "delayed_job:restart"

0 comments on commit d7e7777

Please sign in to comment.