cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c
Garance A Drosehn
gad at FreeBSD.org
Sat May 3 20:39:12 PDT 2003
gad 2003/05/03 20:39:11 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
usr.sbin/newsyslog newsyslog.8 newsyslog.c
Log:
MFC *: Add a command-line option of '-s', which indicates that newsyslog
should not send a signal to any processes. Also add a config-file flag
of 'N' or 'n', which indicates that the given logfile has no process which
needs a signal when it is rotated. Both of these are based on changes
NetBSD has made, although the implementation is somewhat different.
Also add a command-line option of '-R somename', which indicates that
newsyslog should rotate all files given on the command, even if they
don't seem to need to be rotated.
This also brings in some other minor improvements, such as improving the
interactions between specific log files given on the command line, and
config-file entries which specify a filename-pattern (flag 'G').
[* = 1.40 newsyslog.8, 1.55->1.63 & 1.65 newsyslog.c]
PR: bin/36553 (2nd half), 29363 (a small part of)
Obtained from: NetBSD (for option -s and flag 'N')
Revision Changes Path
1.23.2.12 +124 -51 src/usr.sbin/newsyslog/newsyslog.8
1.25.2.15 +458 -238 src/usr.sbin/newsyslog/newsyslog.c
More information about the cvs-src
mailing list