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:
Javi Martín
2019-10-10 22:08:55 +02:00
parent 94a7e13dce
commit b36e659f4e
5 changed files with 13 additions and 23 deletions

View File

@@ -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 }