Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/daemons/daemonize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def simulate(logfile_name = nil)
# NOTE: STDOUT and STDERR will not be redirected to the logfile, because in :ontop mode, we normally want to see the output

Dir.chdir "/" # Release old working directory
File.umask 0000 # Insure sensible umask

# Make sure all file descriptors are closed
ObjectSpace.each_object(IO) do |io|
Expand Down Expand Up @@ -173,7 +172,6 @@ def call_as_daemon(block, logfile_name = nil, app_name = nil)
$0 = app_name if app_name

Dir.chdir "/" # Release old working directory
File.umask 0000 # Insure sensible umask

# Make sure all file descriptors are closed
ObjectSpace.each_object(IO) do |io|
Expand Down Expand Up @@ -216,7 +214,6 @@ def daemonize(logfile_name = nil, app_name = nil)
$0 = app_name if app_name

Dir.chdir "/" # Release old working directory
File.umask 0000 # Insure sensible umask

# Make sure all file descriptors are closed
ObjectSpace.each_object(IO) do |io|
Expand Down