summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-05-23 19:19:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-05-23 19:19:44 +0000
commit455bfdea36467eae927043d31c6791fcff45bddd (patch)
treeb85d679e3bf9e794b638545f142885ab568cb5c5 /usr.bin/newsyslog
parentf8fe306e099e7cbc79e35ac4f3ddcff65e8981db (diff)
some clarifications for the "size" field + cleanup;
based on a diff from ingo schwarze;
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r--usr.bin/newsyslog/newsyslog.812
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/newsyslog/newsyslog.8 b/usr.bin/newsyslog/newsyslog.8
index e31a8cd2b8a..24d6beff8c9 100644
--- a/usr.bin/newsyslog/newsyslog.8
+++ b/usr.bin/newsyslog/newsyslog.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: newsyslog.8,v 1.41 2005/11/30 11:18:27 jmc Exp $
+.\" $OpenBSD: newsyslog.8,v 1.42 2006/05/23 19:19:43 jmc Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -204,13 +204,17 @@ The number of archives to be kept besides the log file itself.
When the size of the log file (in kilobytes) reaches this point, the log
file is trimmed as described above.
If this field is replaced by an
-.Ql \&* ,
+.Ql * ,
+or set to
+.Ql 0 ,
then the size of
the log file is not taken into account when determining when to trim the
log file.
By default, files smaller than 512 bytes are not rotated unless the
.Sq B
-(binary) flag is set.
+(binary) flag is set or the
+.Fl F
+option is specified.
This prevents
.Nm
from rotating files consisting solely of a message indicating
@@ -406,7 +410,7 @@ The command must be enclosed in double quotes
.Pq Ql \&" .
The empty string,
.Ql \&"\&" ,
-can use used to prevent
+can be used to prevent
.Nm
from sending a signal or running a command.
You cannot specify both a command and a PID file.