Skip to content

Commit e5a5858

Browse files
committed
Clarify PID file configuration in development
1 parent 6395186 commit e5a5858

File tree

1 file changed

+2
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config

1 file changed

+2
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ port ENV.fetch("PORT", 3000)
3333
# Allow puma to be restarted by `bin/rails restart` command.
3434
plugin :tmp_restart
3535

36-
# Only use a pidfile when requested
36+
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
37+
# In other environments, only set the PID file if requested.
3738
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]

0 commit comments

Comments
 (0)