This repository has been archived by the owner on Apr 4, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme, add unicorn config for bowler
unicorn config needs work in the development repo or a different approach
- Loading branch information
1 parent
31d3c51
commit 8b2f215
Showing
2 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
worker_processes 4 | ||
before_exec do |server| | ||
ENV["BUNDLE_GEMFILE"] = "#{ENV.fetch('GOVUK_APP_ROOT')}/Gemfile" | ||
end | ||
|
||
if self.respond_to?('check_client_connection') | ||
check_client_connection true | ||
else | ||
warn "check_client_connection: will not enabled for Unicorn version < 4.5.0" | ||
end |
8b2f215
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think having
config/unicorn.rb
like this means that/etc/govuk/unicorn.rb
will be ignored. If that's intentional, I'd like to see a comment to that effect.See
govuk_spinup
in puppet to see how this works normally.8b2f215
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jabley: This file has been renamed
unicorn_development.rb
and it's only used in the development Procfile now.