wesnoth/doc/man/sv/wesnothd.6
2008-09-24 20:30:07 +00:00

193 lines
6.1 KiB
Groff

.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\"
.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH WESNOTHD 6 2007 wesnothd "Kampen om Wesnoths nätverksdaemon"
.
.SH NAMN
.
wesnothd \- Kampen om \fBWesnoth\fPs nätverksdaemon
.
.SH SYNOPSIS
.
\fBwesnothd\fP [\|\fB\-dv\fP\|] [\|\fB\-c\fP \fIsökväg\fP\|] [\|\fB\-p\fP \fIport\fP\|] [\|\fB\-t\fP
\fIantal\fP\|] [\|\fB\-T\fP \fIantal\fP\|]
.br
\fBwesnothd\fP \fB\-V\fP
.
.SH BESKRIVNING
.
Manages Battle for Wesnoth multiplayer games. See
http://www.wesnoth.org/wiki/ServerAdministration on what commands the server
accepts via the wesnoth client (/query ...) or the fifo.
.
.SH FLAGGOR
.
.TP
\fB\-c\ \fP\fIsökväg\fP\fB,\ \-\-config\fP\fI\ sökväg\fP
anger var wesnothd skall leta efter konfigurationsfilen. Se avsnittet om
\fBSERVERKONFIGURATION\fP nedan för syntaxen. Konfigurationen laddas om när
signalen SIGHUP skickas till serverprocessen.
.TP
\fB\-d, \-\-daemon\fP
kör wesnothd som en daemon.
.TP
\fB\-h, \-\-help\fP
visar en sammanfattning av möjliga kommandoradsflaggor.
.TP
\fB\-\-log\-\fP\fInivå\fP\fB=\fP\fIdomän1\fP\fB,\fP\fIdomän2\fP\fB,\fP\fI...\fP
anger allvarlighetsgraden för loggdomänerna. För att se allt kan \fBall\fP
användas. Möjliga nivåer: \fBerror\fP,\ \fBwarning\fP,\ \fBinfo\fP,\
\fBdebug\fP. Standardnivå är \fBerror\fP och \fBinfo\fP för \fBserver\fP\-domänen.
.TP
\fB\-p\ \fP\fIport\fP\fB,\ \-\-port\fP\fI\ port\fP
knyter servern till den specificerade porten. Om ingen port anges så används
port \fB15000\fP.
.TP
\fB\-t\ \fP\fIantal\fP\fB,\ \-\-threads\fP\fI\ antal\fP
anger maximalt antal väntande trådar för nätverkstrafik (standardvärde:
\fB5\fP,\ max:\ \fB30\fP).
.TP
\fB\-T\ \fP\fIantal\fP\fB,\ \-\-max\-threads\fP\fI\ antal\fP
anger maximalt antal trådar som skapas för nätverkstrafik. Om \fB0\fP anges
sätts ingen övre gräns (standardvärde: \fB0\fP).
.TP
\fB\-V, \-\-version\fP
visar versionen.
.TP
\fB\-v, \-\-verbose\fP
ger mer utförlig information.
.
.SH SERVERKONFIGURATION
.
.SS "Den allmänna syntaxen är:"
.
.P
[\fItag\fP]
.IP
parameter="\fIvärde\fP"
.IP
parameter="\fIvärde\fP,\fIvärde\fP,..."
.P
[/\fItag\fP]
.
.SS "Globala parametrar:"
.
.TP
\fBban_save_file\fP
Full or relative path to a (gzip compressed) file that the server can read
and write. Bans will be saved to this file and read again on server start.
.TP
\fBconnections_allowed\fP
Antal tillåtna anslutningar från samma IP\-adress. \fB0\fP betyder oändligt
många. (standardvärde: \fB5\fP)
.TP
\fBdisallow_names\fP
Spelarnamn som ej accepteras av servern. '*' och '?' är tillåtna för att
matcha flera tecken. Se \fBglob\fP(7) för detaljer. Standardvärden (som används
om inget anges) är
\fB*admin*,*admln*,*server*,ai,ai?,computer,human,network,player\fP.
.TP
\fBfifo_path\fP
The path to the fifo you can echo server commands into (same as /query
\&... from wesnoth). If not specified defaults to the compile\-time specified
path (default: /var/run/socket/wesnothd/socket).
.TP
\fBmax_messages\fP
Antal tillåtna meddelanden inom \fBmessages_time_period\fP (standardvärde:
\fB4\fP).
.TP
\fBmessages_time_period\fP
Tidsperioden (i sekunder) under vilken meddelandeöversvämning detekteras
(standardvärde: \fB10\fP sekunder).
.TP
\fBmotd\fP
Meddelandet för dagen.
.TP
\fBpasswd\fP
Lösenordet för administrationsrättigheter. Börjar ofta med `admin '.
.TP
\fBrestart_command\fP
The command that the server uses to start a new server process via the
`restart' command. (Can only be issued via the fifo.)
.TP
\fBversions_accepted\fP
En komma\-separerad lista med versionssträngar som accepteras av servern. '*'
och '?' är tillåtna för att matcha flera tecken. (Standardvärdet är aktuell
version av Wesnoth.)
.br
Exempel: \fBversions_accepted="*"\fP accepterar alla versionssträngar.
.
.SS "Globala taggar:"
.
.P
\fB[redirect]\fP En tag som anger vart en server skall omdirigera vissa
klientversioner.
.RS
.TP
\fBhost\fP
Värdadressen att omdirigera till.
.TP
\fBport\fP
Porten att ansluta till.
.TP
\fBversion\fP
En komma\-separerad lista av versioner att omdirigera. Fungerar på samma sätt
som \fBversions_accepted\fP vad gäller strängmatchning.
.RE
.P
\fB[ban_time]\fP A tag to define convenient keywords for temporary ban time
lengths.
.RS
.TP
\fBname\fP
The name used to reference the ban time.
.TP
\fBtime\fP
The time length definition. The format is: %d[%s[%d%s[...]]] where %s is s
(seconds), m (minutes), h (hours), D (days), M (months) or Y (years) and %d
is a number. If no time modifier is given minutes (m) are assumed.
Example: time="1D12h30m" results in a ban time of 1 day, 12 hours and 30
minutes.
.RE
.P
\fB[proxy]\fP En tag som anger att servern skall agera som proxy och
vidarebefordra klientförfrågningar till den angiva servern. Accepterar samma
parametrar som \fB[redirect]\fP.
.
.SH FÖRFATTARE
.
Skriven av David White <davidnwhite@verizon.net>. Redigerad av Nils
Kneuper <crazy\-ivanovic@gmx.net>, ott <ott@gaon.net> och
Soliton <soliton.de@gmail.com>. Denna manualsida skrevs
ursprungligen av Cyril Bouthors <cyril@bouthors.org>.
.br
Besök den officiella hemsidan: http://www.wesnoth.org/
.
.SH COPYRIGHT
.
Copyright \(co 2003\-2007 David White <davidnwhite@verizon.net>
.br
Detta är fri mjukvara; denna mjukvara är licensierad under GPL version 2,
såsom publicerad av Free Software Foundation. INGEN garanti ges; inte ens
för SÄLJBARHET eller LÄMPLIGHET FÖR ETT VISST SYFTE.
.
.SH "SE ÄVEN"
.
\fBwesnoth\fP(6), \fBwesnoth_editor\fP(6)