Skip to content

Commit

Permalink
fix: use current rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Napolskih committed Apr 16, 2018
1 parent c596fd4 commit 3acf8f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resque/integration/god.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ God.terminate_timeout = <%= terminate_timeout.to_i %>
w.group = 'resque'
w.interval = 30.seconds
w.env = <%= Resque.config.env.merge(worker.env).merge(:RAILS_ENV => ::Rails.env, :BUNDLE_GEMFILE => "#{root}/Gemfile").stringify_keys! %>
w.start = "#{bundle} exec rake -f #{rails_root}/Rakefile resque:work"
w.start = "#{bundle} exec rake resque:work"
w.log = '<%= log_file %>'
w.stop_signal = 'QUIT'

Expand Down Expand Up @@ -61,7 +61,7 @@ God.terminate_timeout = <%= terminate_timeout.to_i %>
w.group = 'resque'
w.interval = 30.seconds
w.env = <%= Resque.config.env.merge(:RAILS_ENV => ::Rails.env, :BUNDLE_GEMFILE => "#{root}/Gemfile").stringify_keys! %>
w.start = "#{bundle} exec rake -f #{rails_root}/Rakefile environment resque:scheduler"
w.start = "#{bundle} exec rake environment resque:scheduler"
w.log = '<%= log_file %>'
w.stop_signal = 'QUIT'
w.stop_timeout = 60.seconds
Expand Down

0 comments on commit 3acf8f0

Please sign in to comment.