Remove redundant puma_bind override
The default "puma_bind" setting was reintroduced in capistrano3-puma 6.2.0
as "unix://.../tmp/sockets/puma.sock". We no longer need to define it
explicitly in deploy.rb.
NOTE: Although the official capistrano3-puma README still states
that "puma_bind" must be explicitly set after upgrading to v6,
this is no longer true since version 6.2.0. The default value
("unix://.../tmp/sockets/puma.sock") has been restored.
This commit is contained in:
@@ -53,7 +53,6 @@ set :puma_systemctl_user, :user
|
||||
set :puma_enable_socket_service, true
|
||||
set :puma_service_unit_env_vars, ["EXECJS_RUNTIME=Disabled"]
|
||||
set :puma_service_unit_name, -> { "puma_#{fetch(:application)}_#{fetch(:stage)}" }
|
||||
set :puma_bind, "unix://#{shared_path}/tmp/sockets/puma.sock"
|
||||
set :puma_access_log, -> { File.join(shared_path, "log", "puma_access.log") }
|
||||
set :puma_error_log, -> { File.join(shared_path, "log", "puma_error.log") }
|
||||
set :puma_systemd_watchdog_sec, 0
|
||||
|
||||
Reference in New Issue
Block a user