BigW Consortium Gitlab

sidekiq.rake 460 Bytes
Newer Older
1
namespace :sidekiq do
2
  desc "GitLab | Stop sidekiq"
3
  task :stop do
4
    system *%W(bin/background_jobs stop)
5 6
  end

7
  desc "GitLab | Start sidekiq"
8
  task :start do
9
    system *%W(bin/background_jobs start)
10
  end
11

12 13
  desc 'GitLab | Restart sidekiq'
  task :restart do
14
    system *%W(bin/background_jobs restart)
15
  end
16

17
  desc "GitLab | Start sidekiq with launchd on Mac OS X"
18
  task :launchd do
19
    system *%W(bin/background_jobs start_no_deamonize)
20
  end
21
end