diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-05-20 03:00:20 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-05-20 03:00:20 +0000 |
commit | 03ffe04fa732bddad6c2942ead7b0d818098c8e3 (patch) | |
tree | e6679b0132ec1a0603a985107706e8a3b2bc6c91 /etc | |
parent | db7a034f3642e9e3ec59b94d1987036f6d1fb1f4 (diff) | |
download | FreeBSD-src-03ffe04fa732bddad6c2942ead7b0d818098c8e3.zip FreeBSD-src-03ffe04fa732bddad6c2942ead7b0d818098c8e3.tar.gz |
- Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by
default for newsyslog(8).
The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to
install a default configuration to handle their own log files.
MFC after: 2 weeks
Relnotes: yes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mtree/BSD.root.dist | 2 | ||||
-rw-r--r-- | etc/newsyslog.conf | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist index d1617c6..6b44bb4 100644 --- a/etc/mtree/BSD.root.dist +++ b/etc/mtree/BSD.root.dist @@ -42,6 +42,8 @@ .. mtree .. + newsyslog.conf.d + .. ntp mode=0700 .. pam.d diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index 9572f84..ab595ca 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -38,3 +38,6 @@ /var/log/utx.log 644 3 * @01T05 B /var/log/weekly.log 640 5 * $W6D0 JN /var/log/xferlog 600 7 100 * JC + +<include> /etc/newsyslog.conf.d/* +<include> /usr/local/etc/newsyslog.conf.d/* |