]> arthur.barton.de Git - ngircd-alex.git/blobdiff - doc/sample-ngircd.conf.tmpl
conf: move 'run-time-feature-disable' options to new FEATURE section
[ngircd-alex.git] / doc / sample-ngircd.conf.tmpl
index c6dde60da6ac48db669bd0fe7219eb22de5d1dca..180bdcef966a702fc07d4975f17771aa56a52ac6 100644 (file)
        ;SSLPorts = 6697, 9999
 
        # SSL Server Key
-       ;SSLKeyFile = :ETCDIR:ssl/server-key.pem
+       ;SSLKeyFile = :ETCDIR:/ssl/server-key.pem
 
        # password to decrypt SSLKeyFile (OpenSSL only)
        ;SSLKeyFilePassword = secret
 
        # SSL Server Key Certificate
-       ;SSLCertFile = :ETCDIR:ssl/server-cert.pem
+       ;SSLCertFile = :ETCDIR:/ssl/server-cert.pem
 
        # Diffie-Hellman parameters
-       ;SSLDHFile = :ETCDIR:ssl/dhparams.pem
+       ;SSLDHFile = :ETCDIR:/ssl/dhparams.pem
 
        # comma separated list of IP addresses on which the server should
        # listen. Default values are:
@@ -77,7 +77,7 @@
 
        # Text file with the "message of the day" (MOTD). This message will
        # be shown to all users connecting to the server:
-       ;MotdFile = :ETCDIR:ngircd.motd
+       ;MotdFile = :ETCDIR:/ngircd.motd
 
        # A simple Phrase (<256 chars) if you don't want to use a motd file.
        ;MotdPhrase = "Hello world!"
        # Allow Pre-Defined Channels only (see Section [Channels])
        ;PredefChannelsOnly = no
 
-       # Don't do any DNS lookups when a client connects to the server.
-       ;NoDNS = no
-
-       # Don't do any IDENT lookups, even if ngIRCd has been compiled
-       # with support for it.
-       ;NoIdent = no
-
-       # Don't use PAM, even if ngIRCd has been compiled with support for it.
-       ;NoPAM = no
-
-       # Don't use ZeroConf service registration, even if ngIRCd has been
-       # compiled with support for it (e.g. Howl, Avahi, Mac OS X).
-       ;NoZeroConf = no
-
        # try to connect to other irc servers using ipv4 and ipv6, if possible
        ;ConnectIPv6 = yes
        ;ConnectIPv4 = yes
        # maximum nick name length!
        ;MaxNickLength = 9
 
+[Features]
+       # Do any DNS lookups when a client connects to the server.
+       ;DNS = yes
+
+       # Do any IDENT lookups if ngIRCd has been compiled with support for it.
+       ;Ident = yes
+
+       # Use PAM if ngIRCd has been compiled with support for it.
+       ;PAM = no
+
+       # Use ZeroConf service registration if ngIRCd has been
+       # compiled with support for it (e.g. Howl, Avahi, Mac OS X).
+       ;ZeroConf = no
+
 [Operator]
        # [Operator] sections are used to define IRC Operators. There may be
        # more than one [Operator] block, one for each local operator.
 
        # Key file, syntax for each line: "<user>:<nick>:<key>".
        # Default: none.
-       ;KeyFile = :ETCDIR:#chan.key
+       ;KeyFile = :ETCDIR:/#chan.key
 
        # maximum users per channel (mode l)
        ;MaxUsers = 23