aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyslog5/files
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2010-01-29 04:51:59 +0800
committerglarkin <glarkin@FreeBSD.org>2010-01-29 04:51:59 +0800
commit01705654405ac93ccf5d0a203c6d14df1d70b250 (patch)
treecef19a9fcc7d2dfecb97c1a257f0d26f47ced9ea /sysutils/rsyslog5/files
parent4d8c298d2384f26032c93fdd3e8b8ebef88f34e0 (diff)
downloadfreebsd-ports-gnome-01705654405ac93ccf5d0a203c6d14df1d70b250.tar.gz
freebsd-ports-gnome-01705654405ac93ccf5d0a203c6d14df1d70b250.tar.zst
freebsd-ports-gnome-01705654405ac93ccf5d0a203c6d14df1d70b250.zip
- Updated to 5.3.7
- Reformatted pkg-descr and pkg-message.in (slightly) for readability PR: ports/143306 Submitted by: Cristiano Rolim Pereira <cristianorolim@hotmail.com> (maintainer)
Diffstat (limited to 'sysutils/rsyslog5/files')
-rw-r--r--sysutils/rsyslog5/files/pkg-message.in24
1 files changed, 19 insertions, 5 deletions
diff --git a/sysutils/rsyslog5/files/pkg-message.in b/sysutils/rsyslog5/files/pkg-message.in
index 290c22c3d8aa..644cf3b61481 100644
--- a/sysutils/rsyslog5/files/pkg-message.in
+++ b/sysutils/rsyslog5/files/pkg-message.in
@@ -1,16 +1,30 @@
===================================================================
To start using rsyslogd(8), stop syslogd(8) if it's running and
add the following lines to rc.conf(5):
- syslogd_enable="NO"
- rsyslogd_enable="YES"
+
+ syslogd_enable="NO"
+ rsyslogd_enable="YES"
+
To avoid warnings about rsyslogd running in compatibility mode, add
this:
- rsyslogd_flags="-c5"
+
+ rsyslogd_flags="-c5"
+
It's recommended to copy syslog.conf(5) to
%%PREFIX%%/etc/rsyslog.conf and edit it there. Otherwise add
this:
- rsyslogd_config="/etc/syslog.conf"
+
+ rsyslogd_config="/etc/syslog.conf"
+
+Add the following (3) lines to the beginning of the config file, for
+basic functionality:
+
+ $ModLoad immark.so # provides --MARK-- message capability
+ $ModLoad imuxsock.so # provides support for local system logging
+ $ModLoad imklog.so # kernel logging
+
newsyslog(8) has the path of syslogd's pid file hardcoded. To
make it work seamlessly with rsyslog, add this:
- rsyslogd_pidfile="/var/run/syslog.pid"
+
+ rsyslogd_pidfile="/var/run/syslog.pid"
===================================================================