From 90086fe2dc3cf20754bd2a6dd7cfddea6de15b18 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 25 Oct 2013 09:39:31 +0200 Subject: [PATCH] Restore sidekiq rake tasks --- lib/tasks/sidekiq.rake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake index 23d41f8ed24..e91678473a8 100644 --- a/lib/tasks/sidekiq.rake +++ b/lib/tasks/sidekiq.rake @@ -4,11 +4,13 @@ namespace :sidekiq do system "script/background_jobs stop" end - desc "GITLAB | Start sidekiq" do + desc "GITLAB | Start sidekiq" + task :start do system "script/background_jobs start" end - desc 'GitLab | Restart sidekiq' do + desc 'GitLab | Restart sidekiq' + task :restart do system "script/background_jobs restart" end