Skip to content
Snippets Groups Projects
Commit 37a5ac42 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #2969 from zerustech/patch-1

Update lib/tasks/sidekiq.rake
parents 8f9c01fe 4c0c9086
No related branches found
No related tags found
No related merge requests found
Loading
@@ -9,6 +9,11 @@ namespace :sidekiq do
Loading
@@ -9,6 +9,11 @@ namespace :sidekiq do
run "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &" run "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &"
end end
desc "GITLAB | Start sidekiq with launchd on Mac OS X"
task :launchd do
run "bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1"
end
def pidfile def pidfile
Rails.root.join("tmp", "pids", "sidekiq.pid") Rails.root.join("tmp", "pids", "sidekiq.pid")
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment