method
pid
v8.1.1 -
Show latest stable
- Class:
Rails::Command::ServerCommand
pid()private
No documentation available.
# File railties/lib/rails/commands/server/server_command.rb, line 245
def pid
default_pidfile = environment == "development" ? DEFAULT_PIDFILE : nil
pid = options[:pid] || ENV["PIDFILE"] || default_pidfile
File.expand_path(pid) if pid
end