diff options
| author | Alexander Barton <alex@barton.de> | 2024-01-21 19:41:39 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2024-01-21 20:15:47 +0100 |
| commit | b4c8e74ccb2cb95e492323b8b39950b203e0262f (patch) | |
| tree | e2297f118a0ad85cdd8daa1215962247ae773059 /man | |
| parent | 3ab6c85284b6b6ba9eae8ee30cadcc545bf02178 (diff) | |
| download | ngircd-b4c8e74ccb2cb95e492323b8b39950b203e0262f.tar.gz ngircd-b4c8e74ccb2cb95e492323b8b39950b203e0262f.zip | |
Use a default "IncludeDir" only when no config file was specified
No longer use a default built-in value for the "IncludeDir" directive when a configuration file was explicitly specified on the command line using "--config"/"-f": This way no default include directory is scanned when a possibly non-default configuration file is used which (intentionally) did not specify an "IncludeDir" directive. With this patch you now can use "-f /dev/null" for checking all built-in defaults, regardless of any local configuration files in the default drop-in directory (which would have been read in until this change).
Diffstat (limited to 'man')
| -rw-r--r-- | man/ngircd.conf.5.tmpl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl index 01e5408e..9d37e5fa 100644 --- a/man/ngircd.conf.5.tmpl +++ b/man/ngircd.conf.5.tmpl @@ -107,7 +107,8 @@ command. This information is not required by the server but by RFC! Text file which contains the ngIRCd help text. This file is required to display help texts when using the "HELP <cmd>" command. Please note: Changes made to this file take effect when ngircd starts up -or is instructed to re-read its configuration file. +or is instructed to re-read its configuration file. Default: a built-in +standard path. .TP \fBInfo\fR (string) Info text of the server. This will be shown by WHOIS and LINKS requests for @@ -123,7 +124,7 @@ IP addresses and interfaces by default. Text file with the "message of the day" (MOTD). This message will be shown to all users connecting to the server. Please note: Changes made to this file take effect when ngircd starts up or is instructed to re-read its -configuration file. +configuration file. Default: a built-in standard path. .TP \fBMotdPhrase\fR (string) A simple Phrase (<127 chars) if you don't want to use a MOTD file. @@ -294,7 +295,17 @@ Default: yes. \fBIncludeDir\fR (string) Directory containing configuration snippets (*.conf), that should be read in after parsing the current configuration file. -Default: none. +Default: a built-in directory name when no configuration file was explicitly +given on the command line (check "ngircd --configtest"), none (empty) +otherwise. +.PP +.RS +This way no default include directory is used when a possibly non-default +configuration file was explicitly specified using "--config"/"-f" on the +command line which (intentionally) did not specify an +.I "IncludeDir" +directive. +.RE .TP \fBMorePrivacy\fR (boolean) This will cause ngIRCd to censor user idle time, logon time as well as the |