Skip to content

Commit

Permalink
Added w.dir to set the current directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeforrest authored and defunkt committed Jun 25, 2011
1 parent 3d2d25b commit 0a39370
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/god/resque.god
Expand Up @@ -4,6 +4,7 @@ num_workers = rails_env == 'production' ? 5 : 2

num_workers.times do |num|
God.watch do |w|
w.dir = "#{rails_root}"
w.name = "resque-#{num}"
w.group = 'resque'
w.interval = 30.seconds
Expand Down

0 comments on commit 0a39370

Please sign in to comment.