Class
A generic module for daemonizing a process
Class Methods
lib/webrick/server.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/webrick/server.rb, line 45
def Daemon.start
Process.daemon
File.umask(0)
yield if block_given?
end
Performs the standard operations for daemonizing a process. Runs a block, if given.