mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
While at it, implement the newly agreed upon policy to deprecated and remove old syslog-ng ports one year after the latest ports has been committed. This is in cotrast to One Identity's Linux clients who have told One Identity they would like to see three years of support. FreeBSD users are encouraged to contact our upline, Peter Czanik, or myself regarding their preference. Submitted by: Peter Czanik (CzP) <peter.czanik@oneidentity.com> Balabit (a OneIdentity company) / syslog-ng upstream
33 lines
927 B
Text
33 lines
927 B
Text
[
|
|
{ type: install
|
|
message: <<EOM
|
|
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.conf
|
|
(a sample named syslog-ng.conf.sample has been included in
|
|
%%PREFIX%%/etc). Note that this is a change in 2.0.2
|
|
version, previous ones put the config file in
|
|
%%PREFIX%%/etc/syslog-ng/syslog-ng.conf, so if this is an update
|
|
move that file in the right place
|
|
|
|
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
|
|
EOM
|
|
}
|
|
]
|