From 1f49ba069e0563b9faa1b79c871d028ef536dd84 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 21 Mar 2024 15:03:50 +0200 Subject: [PATCH] disable puma pidfile --- config/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/puma.rb b/config/puma.rb index ebafd96d..ef31eadf 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -24,7 +24,7 @@ port ENV.fetch('PORT', 3000) environment ENV.fetch('RAILS_ENV', 'development') # Specifies the `pidfile` that Puma will use. -pidfile ENV.fetch('PIDFILE', "#{Dir.tmpdir}/server.pid") +@options[:pidfile] = false # Specifies the number of `workers` to boot in clustered mode. # Workers are forked web server processes. If using threads and workers together