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

22 lines
472 B
Ruby
Raw Normal View History

namespace :sidekiq do
desc "GITLAB | Stop sidekiq"
task :stop do
system *%W(script/background_jobs stop)
end
2013-10-25 03:39:31 -04:00
desc "GITLAB | Start sidekiq"
task :start do
system *%W(script/background_jobs start)
end
2013-10-25 03:39:31 -04:00
desc 'GitLab | Restart sidekiq'
task :restart do
system *%W(script/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(script/background_jobs start_no_deamonize)
2013-10-09 09:46:00 -04:00
end
end