2013-01-09 00:44:05 -05:00
|
|
|
namespace :sidekiq do
|
|
|
|
desc "GITLAB | Stop sidekiq"
|
|
|
|
task :stop do
|
2013-10-09 10:45:32 -04:00
|
|
|
system "script/background_jobs stop"
|
2013-01-09 00:44:05 -05:00
|
|
|
end
|
|
|
|
|
2013-10-25 03:39:31 -04:00
|
|
|
desc "GITLAB | Start sidekiq"
|
|
|
|
task :start do
|
2013-10-09 10:45:32 -04:00
|
|
|
system "script/background_jobs start"
|
|
|
|
end
|
2013-10-09 09:44:25 -04:00
|
|
|
|
2013-10-25 03:39:31 -04:00
|
|
|
desc 'GitLab | Restart sidekiq'
|
|
|
|
task :restart do
|
2013-10-09 10:45:32 -04:00
|
|
|
system "script/background_jobs restart"
|
2013-01-09 00:44:05 -05:00
|
|
|
end
|
2013-02-27 13:40:01 -05:00
|
|
|
|
2013-02-12 10:01:55 -05:00
|
|
|
desc "GITLAB | Start sidekiq with launchd on Mac OS X"
|
|
|
|
task :launchd do
|
2013-10-09 10:45:32 -04:00
|
|
|
system "script/background_jobs start_no_deamonize"
|
2013-10-09 09:46:00 -04:00
|
|
|
end
|
2013-01-09 00:44:05 -05:00
|
|
|
end
|