use temp file for puma pid

This commit is contained in:
DocuSeal
2023-10-24 13:36:50 +03:00
parent 2c7f38c503
commit 7b15111e8f
+1 -1
View File
@@ -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