Skip to content

Commit 526a728

Browse files
committed
Use systemd instead of daemon version
Puma 5.0 remove daemon support so we need to use systemd instead.
1 parent 2bb2338 commit 526a728

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Capfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ require 'capistrano/rvm'
88
require 'capistrano/rails'
99
require 'capistrano/puma'
1010
install_plugin Capistrano::Puma
11+
install_plugin Capistrano::Puma::Systemd

config/deploy/production.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
set :puma_bind, 'unix:/tmp/rails-contributors.sock'
77
set :puma_preload_app, false
88
set :puma_workers, 1
9+
set :puma_phased_restart, true
910

1011
set :rvm_ruby_version, '2.6.5'
1112

0 commit comments

Comments
 (0)