Browse Source

Refresh the configuration file using the upstream version

Also refresh wording.
Christoph Biedl 4 years ago
parent
commit
2ad6af4138
1 changed files with 23 additions and 4 deletions
  1. 23 4
      debian/ngircd.conf

+ 23 - 4
debian/ngircd.conf

@@ -53,7 +53,7 @@
 	# be shown to all users connecting to the server:
 	MotdFile = /etc/ngircd/ngircd.motd
 
-	# A simple Phrase (<256 chars) if you don't want to use a motd file.
+	# A simple Phrase (<127 chars) if you don't want to use a motd file.
 	;MotdPhrase = "Hello. This is the Debian default MOTD sentence"
 
 	# The name of the IRC network to which this server belongs. This name
@@ -80,7 +80,8 @@
 	# Group ID under which the ngIRCd should run; you can use the name
 	# of the group or the numerical ID. ATTENTION: For this to work the
 	# server must have been started with root privileges!
-	# Keep this setting in sync with DAEMONUSER in /etc/init.d/ngircd
+	# Keep this setting in sync with DAEMONUSER in the init script and/or
+	# the Group= setting in service file.
 	ServerGID = irc
 
 	# User ID under which the server should run; you can use the name
@@ -88,7 +89,8 @@
 	# server must have been started with root privileges! In addition,
 	# the configuration and MOTD files must be readable by this user,
 	# otherwise RESTART and REHASH won't work!
-	# Keep this setting in sync with DAEMONUSER in /etc/init.d/ngircd
+	# Keep this setting in sync with DAEMONUSER in the init script and/or
+	# the User= setting in service file.
 	ServerUID = irc
 
 [Limits]
@@ -122,6 +124,12 @@
 	# maximum nickname length!
 	;MaxNickLength = 9
 
+	# Maximum penalty time increase in seconds, per penalty event. Set to -1
+	# for no limit (the default), 0 to disable penalties altogether. The
+	# daemon doesn't use penalty increases higher than 2 seconds during
+	# normal operation, so values greater than 1 rarely make sense.
+	;MaxPenaltyTime = -1
+
 	# Maximum number of channels returned in response to a /list
 	# command (0: unlimited):
 	;MaxListSize = 100
@@ -231,6 +239,15 @@
 	# character prepended to their respective user names!
 	;PAMIsOptional = no
 
+	# When PAM is enabled, this value determines the used PAM
+	# configuration.
+	# This setting allows to run multiple ngIRCd instances with
+	# different PAM configurations on each instance.
+	# If you set it to "ngircd-foo", PAM will use
+	# /etc/pam.d/ngircd-foo instead of the default
+	# /etc/pam.d/ngircd.
+	;PAMServiceName = ngircd
+
 	# Let ngIRCd send an "authentication PING" when a new client connects,
 	# and register this client only after receiving the corresponding
 	# "PONG" reply.
@@ -252,7 +269,9 @@
 	;WebircPassword = xyz
 
 [SSL]
-	# SSL-related configuration options.
+	# SSL-related configuration options. Please note that this section
+	# is only available when ngIRCd is compiled with support for SSL!
+	# So don't forget to remove the ";" above if this is the case ...
 
 	# SSL Server Key Certificate
 	;CertFile = /etc/ssl/certs/server.crt