gitlab-org--gitlab-foss/lib/tasks/sidekiq.rake
2013-10-15 22:48:57 +02:00

19 lines
430 B
Ruby

namespace :sidekiq do
desc "GITLAB | Stop sidekiq"
task :stop do
system "script/background_jobs stop"
end
desc "GITLAB | Start sidekiq" do
system "script/background_jobs start"
end
desc 'GitLab | Restart sidekiq' do
system "script/background_jobs restart"
end
desc "GITLAB | Start sidekiq with launchd on Mac OS X"
task :launchd do
system "script/background_jobs start_no_deamonize"
end
end