Make puma restarts work with systemd
Just like mentioned in puma's documentation: https://github.com/puma/puma/blob/master/docs/systemd.md#socket-activation
This commit is contained in:
@@ -28,6 +28,8 @@ set :keep_releases, 5
|
|||||||
|
|
||||||
set :local_user, ENV["USER"]
|
set :local_user, ENV["USER"]
|
||||||
|
|
||||||
|
set :puma_restart_command, "bundle exec --keep-file-descriptors puma"
|
||||||
|
|
||||||
set :delayed_job_workers, 2
|
set :delayed_job_workers, 2
|
||||||
set :delayed_job_roles, :background
|
set :delayed_job_roles, :background
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user