diff options
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/initialization.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 817c6b17bc..c19b2cffc5 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -289,7 +289,7 @@ def default_options environment: (ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development").dup, daemonize: false, caching: nil, - pid: Options::DEFAULT_PID_PATH, + pid: ENV.fetch("PIDFILE", Options::DEFAULT_PIDFILE).dup, restart_cmd: restart_command) end ``` |