summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-09 15:48:28 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-09 15:51:39 +0200
commit97f124b31d95ae0adba00b2b906d602f73ae5ffd (patch)
treed278069b8cd8139197cdee706b47e3127403e4e2 /lib
parent7991b0449920b0c90bd7c529bbb2e5b1699a87ef (diff)
downloadgitlab-ce-97f124b31d95ae0adba00b2b906d602f73ae5ffd.tar.gz
Use built-in sidekiq deamonization
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/sidekiq.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake
index 46caffd0754..ba79b6e035d 100644
--- a/lib/tasks/sidekiq.rake
+++ b/lib/tasks/sidekiq.rake
@@ -14,7 +14,7 @@ namespace :sidekiq do
Rake::Task['sidekiq:stop'].invoke
puts 'Starting new sidekiq process.'
end
- system "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} >> #{log_file} 2>&1 &"
+ system "bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e #{Rails.env} -P #{pidfile} -d -L #{log_file} >> #{log_file} 2>&1"
end
desc "GITLAB | Start sidekiq with launchd on Mac OS X"