gitlab-org--gitlab-foss/lib/tasks/sidekiq.rake

22 lines
464 B
Ruby
Raw Normal View History

namespace :sidekiq do
desc "GitLab | Stop sidekiq"
task :stop do
system(*%w(bin/background_jobs stop))
end
desc "GitLab | Start sidekiq"
2013-10-25 03:39:31 -04:00
task :start do
system(*%w(bin/background_jobs start))
end
2013-10-25 03:39:31 -04:00
desc 'GitLab | Restart sidekiq'
task :restart do
system(*%w(bin/background_jobs restart))
end
2013-02-27 13:40:01 -05:00
desc "GitLab | Start sidekiq with launchd on Mac OS X"
task :launchd do
system(*%w(bin/background_jobs start_no_deamonize))
2013-10-09 09:46:00 -04:00
end
end