lib/capistrano/tasks/sidekiq.rake in capistrano-sidekiq-2.0.0 vs lib/capistrano/tasks/sidekiq.rake in capistrano-sidekiq-2.1.0

- old
+ new

@@ -4,17 +4,11 @@ end end namespace :sidekiq do task :add_default_hooks do - after 'deploy:starting', 'sidekiq:quiet' + after 'deploy:starting', 'sidekiq:quiet' if Rake::Task.task_defined?('sidekiq:quiet') after 'deploy:updated', 'sidekiq:stop' after 'deploy:published', 'sidekiq:start' after 'deploy:failed', 'sidekiq:restart' - end - - desc 'Restart sidekiq' - task :restart do - invoke! 'sidekiq:stop' - invoke! 'sidekiq:start' end end