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

22 lines
460 B
Ruby
Raw Normal View History

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