From 3c39094b52332dc2b79ee9ae640324e312b81777 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 20 Jan 2024 23:04:32 +0100 Subject: 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. --- man/ngircd.conf.5.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man') 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 -- cgit 1.4.1