module Puma::Daemon::DSL
Attributes
options[R]
Public Instance Methods
daemonize(which = true)
click to toggle source
Daemonize the server into the background. It's highly recommended to use this in combination with pidfile
and stdout_redirect
.
The default is “false”.
@example
daemonize
@example
daemonize false
# File lib/puma/daemon/dsl.rb, line 16 def daemonize(which = true) @options[:daemon] = which end