Skip to content

Commit

Permalink
Prevent daemonization from truncating the log
Browse files Browse the repository at this point in the history
  • Loading branch information
leinster committed Apr 13, 2010
1 parent f2f1392 commit 78f0273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adhearsion/foundation/custom_daemonizer.rb
Expand Up @@ -38,7 +38,7 @@ def daemonize(log_file='/dev/null')

STDIN.reopen "/dev/null"
STDOUT.reopen '/dev/null', "a"
STDERR.reopen log_file
STDERR.reopen log_file, "a"
return oldmode ? sess_id : 0
end
end
Expand Down

0 comments on commit 78f0273

Please sign in to comment.