diff --git a/config/puma.rb b/config/puma.rb index 7568bc79..ebafd96d 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', 'tmp/pids/server.pid') +pidfile ENV.fetch('PIDFILE', "#{Dir.tmpdir}/server.pid") # Specifies the number of `workers` to boot in clustered mode. # Workers are forked web server processes. If using threads and workers together