diff options
author | gordon <gordon@FreeBSD.org> | 2010-05-29 22:55:59 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2010-05-29 22:55:59 +0000 |
commit | 4fcdf7caa6f2ed8e431b4fbd876afa5df3db6669 (patch) | |
tree | 46442acc73777344af2183605084c57782159da6 /usr.sbin/newsyslog/newsyslog.conf.5 | |
parent | 5224579be48d87a661720ded4bf970a3c4490ba9 (diff) | |
download | FreeBSD-src-4fcdf7caa6f2ed8e431b4fbd876afa5df3db6669.zip FreeBSD-src-4fcdf7caa6f2ed8e431b4fbd876afa5df3db6669.tar.gz |
Add file include processing for newsyslog.
Format for the include line in /etc/newsyslog.conf is:
<include> /etc/defaults/newsyslog.conf
Other notes of interest:
Globbing is supported in <include> statements.
Properly detect circular include loop dependencies.
Reviewed by: gad@
Approved by: wes@ (mentor)
MFC after: 2 months
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.conf.5')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.conf.5 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.conf.5 b/usr.sbin/newsyslog/newsyslog.conf.5 index 138adc0..125ced0 100644 --- a/usr.sbin/newsyslog/newsyslog.conf.5 +++ b/usr.sbin/newsyslog/newsyslog.conf.5 @@ -69,13 +69,18 @@ is treated as an ordinary character. The fields of the configuration file are as follows: .Bl -tag -width indent .It Ar logfile_name -Name of the system log file to be archived, or the literal string -.Dq Aq Li default . +Name of the system log file to be archived, +or one of the literal strings +.Dq Aq Li default , +or +.Dq Aq Li include . The special default entry will only be used if a log file name is given as a command line argument to .Xr newsyslog 8 , and if that log file name is not matched by any other line in the configuration file. +The include entry is used to include other configuration +files and supports globbing. .It Ar owner : Ns Ar group This optional field specifies the owner and group for the archive file. The |