aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng324/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng324/files/pkg-message.in')
-rw-r--r--sysutils/syslog-ng324/files/pkg-message.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/syslog-ng324/files/pkg-message.in b/sysutils/syslog-ng324/files/pkg-message.in
new file mode 100644
index 000000000000..95140fc941eb
--- /dev/null
+++ b/sysutils/syslog-ng324/files/pkg-message.in
@@ -0,0 +1,33 @@
+[
+{ 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
+}
+]