Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • webrick/server.rb

Parent

Methods

WEBrick::Daemon

A generic module for daemonizing a process

Public Class Methods

start() click to toggle source

Performs the standard operations for daemonizing a process. Runs a block, if given.

 
               # File webrick/server.rb, line 46
def Daemon.start
  Process.daemon
  File.umask(0)
  yield if block_given?
end