ports/sysutils/rsyslog8/files/pkg-message.in
Matthew Seaman 2a74583ea3 sysutils/rsyslog8: update pkg-message and add sample config file
Upstream changes mean that the advice formerly given in pkg-message to
modify the default /etc/syslog.conf file as the basis of a new
${PREFIX}/etc/rsyslog.conf are now less useful and confusing to end
users.

Therefore, update the pkg-message accordingly, and install a sample
config file which should duplicated the functionality of the base
syslog.conf.

PR:		260158
Reported by:	Mark Johnston
2021-12-03 18:14:18 +00:00

24 lines
716 B
Text

[
{ type: install
message: <<EOM
To start using rsyslogd(8), stop syslogd(8) if it is running and
add the following lines to rc.conf(5):
syslogd_enable="NO"
rsyslogd_enable="YES"
For best results, create a new configuration file
%%PREFIX%%/etc/rsyslog.conf rather than trying to re-use the original
/etc/syslog.conf -- the configuration file syntax has diverged over
time, and it's no longer anywhere near compatible.
The port will install an example configuration file which should
provide the same logging setup as the default /etc/syslog.conf
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"
EOM
}
]