From bd8f086963d193ec91a549361938f2d3497f8f4d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 14 Aug 2009 21:03:44 -0700 Subject: Fix documentation for Util.reopen_logs --- lib/unicorn/util.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index d2214b7..5454005 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -7,13 +7,13 @@ module Unicorn APPEND_FLAGS = File::WRONLY | File::APPEND - # this reopens logs that have been rotated (using logrotate(8) or - # similar). It is recommended that you install + # This reopens ALL logfiles in the process that have been rotated + # using logrotate(8) (without copytruncate) or similar tools. # A +File+ object is considered for reopening if it is: # 1) opened with the O_APPEND and O_WRONLY flags # 2) opened with an absolute path (starts with "/") # 3) the current open file handle does not match its original open path - # 4) unbuffered (as far as userspace buffering goes) + # 4) unbuffered (as far as userspace buffering goes, not O_SYNC) # Returns the number of files reopened def reopen_logs nr = 0 -- cgit v1.2.3-24-ge0c7