freebsd-ports/sysutils/rsyslog6/files/pkg-message.in
Brad Davis 4357b9a9c3 - Add rsyslog6*, the stable branch of rsyslog-6 at version 6.2.2
- Take maintainer

PR:		ports/169307
Approved by:	pgollucci
2012-08-16 21:52:44 +00:00

30 lines
948 B
Text

===================================================================
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"
To avoid warnings about rsyslogd running in compatibility mode, add
this:
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"
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"
===================================================================