Method: Puma::DSL#restart_command

Defined in:
lib/puma/dsl.rb

#restart_command(cmd) ⇒ Object

Command to use to restart Puma. This should be just how to load Puma itself (ie. ‘ruby -Ilib bin/puma’), not the arguments to Puma, as those are the same as the original process.

Examples:

restart_command '/u/app/lolcat/bin/restart_puma'


462
463
464
# File 'lib/puma/dsl.rb', line 462

def restart_command(cmd)
  @options[:restart_cmd] = cmd.to_s
end