summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-01-20 23:04:32 +0100
committerAlexander Barton <alex@barton.de>2024-01-21 01:20:46 +0100
commit3c39094b52332dc2b79ee9ae640324e312b81777 (patch)
tree157e3490ba4bd6999256780c799de673ffefacda /man
parent669d71f3fe4c21f27c329690d74427879d8ee35a (diff)
downloadngircd-3c39094b52332dc2b79ee9ae640324e312b81777.tar.gz
ngircd-3c39094b52332dc2b79ee9ae640324e312b81777.zip
Deduce a server name when not set in the configuration
The server "Name" in the "[Global]" section of the configuration file is
optional now: When not set (or empty), ngIRCd now tries to deduce a
valid IRC server name from the local host name ("node name"), possibly
adding a ".host" extension when the host name does not contain a dot
(".") which is required in an IRC server name ("ID").

This new behaviour, with all configuration parameters now being
optional, allows running ngIRCd without any configuration file at all.
Diffstat (limited to 'man')
-rw-r--r--man/ngircd.conf.5.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index 124a886d..84a6baec 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -93,10 +93,11 @@ like the server name and the ports on which the server should be listening.
 These settings depend on your personal preferences, so you should make sure
 that they correspond to your installation and setup!
 .TP
-\fBName\fR (string; required)
+\fBName\fR (string)
 Server name in the IRC network. This is an individual name of the IRC
 server, it is not related to the DNS host name. It must be unique in the
-IRC network and must contain at least one dot (".") character.
+IRC network and must contain at least one dot (".") character. When not set,
+ngIRCd tries to deduce a valid IRC server name from the local host name.
 .TP
 \fBAdminInfo1\fR, \fBAdminInfo2\fR, \fBAdminEMail\fR (string)
 Information about the server and the administrator, used by the ADMIN