@chapter{ Synopsis }

@strong{doomsday-server} @man_opt{stdout} @man_opt2{port}{tcp-port}
@man_opt2{iwad}{dir} @man_opt2{game}{mode} @man_opt{v} @man_opt2{file}{file ...}

Note that the command line is not interpreted according to GNU conventions.
Everything following @opt{--} is ignored. @opt{@@} can be used to specify a
response file whose contents are added to the command line.

@chapter{ Options }

@deflist/thin{
    
@item{@opt{-stdout}} Prints all log entries to the standard output. If this
option is not used, nothing is printed so that the server can be run as a
background process.

@item{@opt{-port}} TCP port that the server listens to for incoming connections.

@item{@opt{-iwad}} Specifies a directory where to look for IWAD files. Doomsday
will search for IWADs from all known games and automatically load them when
needed. Note that you can also use the DOOMWADDIR environment variable or the
@file{paths} configuration file to specify the location of the IWAD files.

@item{@opt{-game}} Sets the game to load after startup. See doomsday(6) for a
list of available games. For example:

@samp{@opt{-game doom1-ultimate}} 

If @opt{-game} is not specified and the server is unable to choose a game automatically, the server will quit.

@item{@opt{-v}} Print verbose log messages (also @opt{-verbose}). Specify more
than once for extra verbosity.

@item{@opt{-file}} Specify one or more resource files (WAD, LMP, PK3) to load
at startup. More files can be loaded at runtime with the @cmd{load} command.

}

In addition to these, @bin{doomsday-server} supports many of the command line
options of doomsday(6).


@chapter{ Operating a server }

Doomsday servers are, by default, silent daemon processes intended to be run in
the background. You need to use the Doomsday Shell to monitor their status and control them.


@chapter{ See Also }

doomsday(6), doomsday-shell-text(6)

@ifndef{WIKI}{
    $ Man pages have an author section.
    @include{../author}    
}
