From d1693f06fcc9e2bd9b52a05998eeb4c504bf9957 Mon Sep 17 00:00:00 2001 From: taitus Date: Tue, 27 May 2025 18:52:12 +0200 Subject: [PATCH] Keep After=network.target in Puma systemd unit We keep After=network.target instead of the new default After=syslog.target network.target introduced in capistrano3-puma 6.0.0. Our Puma service doesn't depend on syslog availability because it writes logs directly to files using: > StandardOutput=append:... > StandardError=append:... So the syslog.target dependency is unnecessary in our case. --- lib/capistrano/templates/puma.service.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/templates/puma.service.erb b/lib/capistrano/templates/puma.service.erb index de71f6885..9571a15ad 100644 --- a/lib/capistrano/templates/puma.service.erb +++ b/lib/capistrano/templates/puma.service.erb @@ -12,7 +12,7 @@ [Unit] Description=Puma HTTP Server for <%= "#{fetch(:application)} (#{fetch(:stage)})" %> <%= "Requires=#{fetch(:puma_service_unit_name)}.socket" if fetch(:puma_enable_socket_service) %> -After=syslog.target network.target +After=network.target [Service] Type=<%= service_unit_type %>