From a9ba7425bff277fa0530f89e43322c2fe45bd6ed Mon Sep 17 00:00:00 2001 From: taitus Date: Mon, 7 Jul 2025 13:27:52 +0200 Subject: [PATCH] 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. --- config/deploy.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index b8906cd2a..68981ca40 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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