about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-05-24 22:29:41 +0200
committerAlexander Barton <alex@barton.de>2013-05-24 22:34:53 +0200
commitf206fda8ae14e9c76e3dca6aa67412d5ae9ee9f7 (patch)
treeeed275603ecb2aebe720c4b7375b98b91e3d69fa /doc
parent6beb0fad3ff09ae92a7aea0e4b8ad7b00fe2e26d (diff)
downloadngircd-f206fda8ae14e9c76e3dca6aa67412d5ae9ee9f7.tar.gz
ngircd-f206fda8ae14e9c76e3dca6aa67412d5ae9ee9f7.zip
Implement new configuration option "IncludeDir"
The option "IncludeDir" in the [Options] section can be used
to specify a directory which can contain further configuration
files and configuration file snippets matching the pattern
"*.conf" that should be read in after the main configuration
file ("ngircd.conf" by default) has been parsed.

Closes bug #157.
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index 822fd5d4..31333ec2 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -167,6 +167,10 @@
 	# prepended to their user name.
 	;Ident = yes
 
+	# Directory containing configuration snippets (*.conf), that should
+	# be read in after parsing this configuration file.
+	;IncludeDir = :ETCDIR:/conf.d
+
 	# Enhance user privacy slightly (useful for IRC server on TOR or I2P)
 	# by censoring some information like idle time, logon time, etc.
 	;MorePrivacy = no