Commit 2adbc0b778985ee6b0a78b5acd845904520ccc64
Exists in
spb-stable
and in
3 other branches
Merge pull request #6142 from gdamjan/master
Check specifically for Unicorn in rack config.ru file
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config.ru
1 | # This file is used by Rack-based servers to start the application. | 1 | # This file is used by Rack-based servers to start the application. |
2 | 2 | ||
3 | -unless defined?(PhusionPassenger) | 3 | +if defined?(Unicorn) |
4 | require 'unicorn' | 4 | require 'unicorn' |
5 | # Unicorn self-process killer | 5 | # Unicorn self-process killer |
6 | require 'unicorn/worker_killer' | 6 | require 'unicorn/worker_killer' |