Use puma instead of unicorn
Puma is the server we use in the development environment, so this way we don't need to maintain two servers. Furthermore, puma seems to offer a few advantages over unicorn (like multithreading) and no disadvantages.
This commit is contained in:
@@ -21,7 +21,7 @@ set :log_level, :info
|
||||
set :pty, true
|
||||
set :use_sudo, false
|
||||
|
||||
set :linked_files, %w[config/database.yml config/secrets.yml config/unicorn.rb config/environments/production.rb]
|
||||
set :linked_files, %w[config/database.yml config/secrets.yml config/environments/production.rb]
|
||||
set :linked_dirs, %w[log tmp public/system public/assets public/ckeditor_assets]
|
||||
|
||||
set :keep_releases, 5
|
||||
@@ -35,7 +35,6 @@ set(:config_files, %w[
|
||||
log_rotation
|
||||
database.yml
|
||||
secrets.yml
|
||||
unicorn.rb
|
||||
])
|
||||
|
||||
set :whenever_roles, -> { :app }
|
||||
|
||||
Reference in New Issue
Block a user