diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-25 11:39:31 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-25 11:39:31 +0400 |
commit | 90086fe2dc3cf20754bd2a6dd7cfddea6de15b18 (patch) | |
tree | 20c62f97e095e6fa7aae45b7eae0569a3078b34c /lib/tasks/sidekiq.rake | |
parent | 8387806604b102c9c4d5aa179160c529b9006a30 (diff) |
Restore sidekiq rake tasks
Diffstat (limited to 'lib/tasks/sidekiq.rake')
-rw-r--r-- | lib/tasks/sidekiq.rake | 6 |
1 files 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 |