Skip to content

Commit

Permalink
fix(tasks): rotation now depends on environment
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Apr 7, 2014
1 parent 1888006 commit 9d07f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/integration/tasks/resque.rake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace :resque do

namespace :logs do
desc 'Rotate resque logs'
task :rotate do
task :rotate => :environment do
if god_running?
Process.kill('USR1', File.read(Resque.config.pid_file).to_i)
sleep 3
Expand Down

0 comments on commit 9d07f2e

Please sign in to comment.