summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2010-08-11 22:52:06 +0200
committerFlorian Westphal <fw@strlen.de>2010-08-12 21:46:47 +0200
commit056de78e315a79edc1166649514bf8dfeb18abb1 (patch)
tree0a54069829ad3aa388de6f09386c4666cd4e1098 /man
parenta02bc9cc6f821a604f6ae4a865b0da8eec4da5a4 (diff)
downloadngircd-056de78e315a79edc1166649514bf8dfeb18abb1.tar.gz
ngircd-056de78e315a79edc1166649514bf8dfeb18abb1.zip
ngircd: change MOTD file handling
previously, the given MotdFile file was read whenever a client
requested it.

Change handling to read the MotdFile contents into memory once
during config file parsing.

Two side effects:
- changes to the MOTD file do not have any effect until ngircds
  configuration is reloaded
- MOTD file does no longer have to reside in the chroot directory
  (the MOTD contents will then not be re-read on reload in that case)
Diffstat (limited to 'man')
-rw-r--r--man/ngircd.conf.5.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index ad888713..71aaa1e0 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -118,12 +118,11 @@ IP addresses and interfaces by default.
 .TP
 \fBMotdFile\fR
 Text file with the "message of the day" (MOTD). This message will be shown
-to all users connecting to the server.
+to all users connecting to the server. Changes made to this file
+take effect when ngircd is instructed to re-read its configuration file.
 .TP
 \fBMotdPhrase\fR
 A simple Phrase (<256 chars) if you don't want to use a MOTD file.
-If this variable is set, no \fBMotdFile\fR will be read at all which can be
-handy if the daemon should run inside a chroot directory.
 .TP
 \fBServerUID\fR
 User ID under which the server should run; you can use the name of the user