summaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng/pkg-message')
-rw-r--r--sysutils/syslog-ng/pkg-message18
1 files changed, 6 insertions, 12 deletions
diff --git a/sysutils/syslog-ng/pkg-message b/sysutils/syslog-ng/pkg-message
index 9ed8ef14e716..223446c811e0 100644
--- a/sysutils/syslog-ng/pkg-message
+++ b/sysutils/syslog-ng/pkg-message
@@ -5,19 +5,13 @@ 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. If you are using FreeBSD 4.4 or later, add these lines to your /etc/rc.conf:
+2. Configure syslog-ng to start automatically by adding the following
+ to /etc/rc.conf:
- syslogd_program="__PREFIX__/sbin/syslog-ng"
- syslogd_flags=""
+ syslog_ng_enable="YES"
-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:
+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"
@@ -27,5 +21,5 @@ syslog-ng is now installed! To replace FreeBSD's standard syslogd
5. Start syslog-ng:
- __PREFIX__/sbin/syslog-ng
+ __PREFIX__/etc/rc.d/syslog-ng.sh start