Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2014-11-30 23:09:43 +0300
committerJonne Haß <me@jhass.eu>2014-12-01 10:06:07 +0300
commita580171e3239a298f8edc7f500a7041ef3fa4171 (patch)
tree52ca228372fe09496aeed1cd07a7533902fe1732 /config/unicorn.rb
parent4cadc2d51c2f61730fe18148532f550b1d64a02c (diff)
Replace spork with spring, update & use binstubs
Spring is the recommended application preloader for rails
Diffstat (limited to 'config/unicorn.rb')
-rw-r--r--config/unicorn.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/unicorn.rb b/config/unicorn.rb
index 52963a762..719c357c2 100644
--- a/config/unicorn.rb
+++ b/config/unicorn.rb
@@ -29,9 +29,9 @@ before_fork do |server, worker|
unless AppConfig.single_process_mode?
Sidekiq.redis {|redis| redis.client.disconnect }
end
-
+
if AppConfig.server.embed_sidekiq_worker?
- @sidekiq_pid ||= spawn('bundle exec sidekiq')
+ @sidekiq_pid ||= spawn('bin/bundle exec sidekiq')
end
old_pid = '/var/run/diaspora/diaspora.pid.oldbin'