Method: Puma::DSL#state_path

Defined in:
lib/puma/dsl.rb

#state_path(path) ⇒ Object

Use path as the file to store the server info state. This is used by pumactl to query and control the server.

Examples:

state_path '/u/apps/lolcat/tmp/pids/puma.state'


658
659
660
# File 'lib/puma/dsl.rb', line 658

def state_path(path)
  @options[:state] = path.to_s
end