freebsd-ports/sysutils/syslog-ng/files/pkg-message.in
Lars Engels bd56fbc7af Correct the name of the rc script in the pkg-message.
PR:		ports/119445
Submitted by:	Paul M <paul-freebsd (AT) mansfield.co.uk>
2008-01-19 12:48:56 +00:00

25 lines
685 B
Text

syslog-ng is now installed! To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:
1. Create a configuration file named %%PREFIX%%/etc/syslog-ng/syslog-ng.conf
(a sample named syslog-ng.conf.sample has been included)
2. Configure syslog-ng to start automatically by adding the following
to /etc/rc.conf:
syslog_ng_enable="YES"
3. Prevent the standard FreeBSD syslogd from starting automatically by
adding a line to the end of your /etc/rc.conf file that reads:
syslogd_enable="NO"
4. Shut down the standard FreeBSD syslogd:
kill `cat /var/run/syslog.pid`
5. Start syslog-ng:
%%PREFIX%%/etc/rc.d/syslog-ng start