Permalink
Browse files

update docs for worker results

  • Loading branch information...
1 parent b5fc7bd commit ebec6f24a6dbeeba4184d911a934a8095af54d0f @gnufied committed Oct 4, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/backgroundrb/bdrb_start_stop.rb
@@ -25,7 +25,7 @@ def start
op.write(Process.pid().to_s)
op.close
if BDRB_CONFIG[:backgroundrb][:log].nil? or BDRB_CONFIG[:backgroundrb][:log] != 'foreground'
- log_file = File.open(SERVER_LOGGER,"a")
+ log_file = File.open(SERVER_LOGGER,"w+")
[STDIN, STDOUT, STDERR].each {|desc| desc.reopen(log_file)}
end

0 comments on commit ebec6f2

Please sign in to comment.