BigW Consortium Gitlab

sidekiq.rake 464 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