NAME
bnetd.conf - Configuration for the Unix Battle.Net daemon
DESCRIPTION
The file bnetd.conf contains information used by the Unix Battle.Net daemon bnetd(1), to set system-specific information such as where files are located.
A configuration entry is composed of two fields separated by an equals (=) sign:
-
directive value
The directive field contains the name of the configuration field you want to set with the value of value. The value may not contain quotation marks or spaces.
Recognized values for directive include:
- filedir
-
Specifies the location of files that are sent to the user such as the Terms-of-Service (tos) file.h.
- userdir
-
Specifies the location where user entries are stored.
- logfile
-
Specifies the location where the bnetd(1) server writes its logs.
- loglevels
-
There are several levels of logging available to the bnetd(1) server. They consist of:
- debug
-
print verbose debugging messages
- info
-
print useful informational messages
- warn
-
print messages when non-fatal errors occur
- error
-
print messages when very bad things happen
- defacct
-
Location of the default account file. This file is used as a template when creating new accounts.
- motdfile
-
Location of the Message Of The Day file. This is printed when a user logs into the system
- newsfile
-
Location of the file that is printed when the 0ws command is used. If no file is specified or the file doesn't exist then the server prints "No news today" to the user.
- adfile
-
The Location of the PCX banner file that displays in the client.
- adlink
-
The URL that a user is sent to if they click on the banner in the client.
- latest_file
-
Future: will be used when autoupdating of the client code is completely working.
- latest
-
Future: will be used when autoupdating of the client code is completely working.
- servport
-
The port the bnetd(1) server listens to. It is not recommended that this value be modified.
- gameport
-
The port the bnclient(1) tries to connect to.
- testport
-
The port the client checks for UDP test packets on.
- usersync
-
The time in seconds between account file updates. 0 means don't do periodic updates.
- userflush
-
The number of seconds of inactivity before a user is unloaded from memory (only checked during file account updates, see usersync.
- latency
-
How often to send user latency tests to the user, in seconds.
- shutdown_delay
-
The amount of time in seconds to delay shutting down the server when it receives a SIGTERM or SIGKILL.
- shutdown_decr
-
You can decrease the amount of time to wait by this value by sending another SIGTERM or SIGKILL.
- newaccounts
-
If this value is true then new accounts may be created on the system.
- kick_oldlogin
-
If this value is true then a second login by the same user will kick off the first, otherwise they get message saying that they are already logged in.
- track
-
Set this value to 0 to disable sending updates to the tracking server. Any other number will set the number of seconds between trackign packets.
- trackserver
-
The hostname or IP address of the tracking server to send updates to.
- trackport
-
The UDP port number the tracking server listens to.
- location
-
The location of the bnetd(1) server. This is displayed by the tracking server. No spaces are allowed in this value.
- description
-
A description of the bnetd(1) server. This is displayed by the tracking server. No spaces are allowed in this value.
SEE ALSO
- bnetd(1)
AUTHOR
- Rob Crittenden ([email protected])