summaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng1/pkg-message
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-12-02 18:31:06 +0000
committerSteve Price <steve@FreeBSD.org>2001-12-02 18:31:06 +0000
commita299d739144d6114621a8fa133c998a7dce211a3 (patch)
treed06c99e6dc64a0435e1b810539941f8267b2bf97 /sysutils/syslog-ng1/pkg-message
parentUpdate to version 1.2.5. (diff)
Update to version 1.4.14.
PR: 32369 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=50878
Diffstat (limited to 'sysutils/syslog-ng1/pkg-message')
-rw-r--r--sysutils/syslog-ng1/pkg-message28
1 files changed, 21 insertions, 7 deletions
diff --git a/sysutils/syslog-ng1/pkg-message b/sysutils/syslog-ng1/pkg-message
index f69921584cf6..9ed8ef14e716 100644
--- a/sysutils/syslog-ng1/pkg-message
+++ b/sysutils/syslog-ng1/pkg-message
@@ -5,13 +5,27 @@ syslog-ng is now installed! To replace FreeBSD's standard syslogd
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 creating a startup script
- in __PREFIX__/etc/rc.d. (a sample named syslog-ng.sh.sample has been
- included)
+2. If you are using FreeBSD 4.4 or later, add these lines to your /etc/rc.conf:
-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_program="__PREFIX__/sbin/syslog-ng"
+ syslogd_flags=""
- syslogd_enable="NO"
+3. If you are using FreeBSD 4.3 or earlier, follow these steps:
+
+ a. Configure syslog-ng to start automatically by creating a startup script
+ in __PREFIX__/etc/rc.d. (a sample named syslog-ng.sh.sample has been
+ included)
+
+ b. 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. Reboot.
+4. Shut down the standard FreeBSD syslogd:
+
+ kill `cat /var/run/syslog.pid`
+
+5. Start syslog-ng:
+
+ __PREFIX__/sbin/syslog-ng
+