empserver/man/emp_server.6
Markus Armbruster 71320ed67f New update scheduler:
(schedulefil): New.
(set_dirs, set_paths): Rename.  Initialize schedulfil.
(read_schedule): New.  Can read several updates, which will be used in
later changesets.
(update_time): Change to array.  Will be used in later changesets.
(update_schedule_anchor): New.
(update_init): Initialize it.
(update_get_schedule): New.
(update_init): Call it to initialize update_time[].
(update_sched): Rewrite.
(update_forced, update_wanted): Replace.
(update_reschedule): New.
(main): Call it on SIGHUP to reload the schedule.
(update_trigger, update_force, force, player_coms): Drop force's
capability to schedule updates in the future, because it's not worth
the trouble to implement again.  Deities can simply edit the schedule
file to schedule updates.  Remove update_force() and
update_trigger()'s parameter.
(upda): Update for new scheduler.  Take care to keep output the same
as far as possible, even though it's ugly, to avoid breaking clients.
(update_policy, adj_update, update_times, hourslop, blitz_time):
econfig keys removed.
(update_demand, UPD_DEMAND_NONE, UPD_DEMAND_SCHED, UPD_DEMAND_ASYNC)
(update_demandpolicy, UDP_NORMAL, UDP_TIMES, UDP_NORMAL, UDP_BLITZ)
(UDP_MAX, UDP_DEFAULT, UDDEM_TMCHECK, UDDEM_COMSET, UDDEM_DISABLE)
(UDDEM_MAX, UDDEM_DEFAULT): econfig key and values replaced.  Users
changed.  wantupd.h is now empty, remove.
(demand_check): External linkage.
(update_policy_check): Now pointless, remove.
(is_daytime_near, min_to_next_daytime, regular_update_time)
(scheduled_update_time, next_scheduled_time, updatetime)
(next_update_time, next_update_check_time): Unused, Remove.

(demand_check, demandupdatecheck): Move call of demand_update_time()
from demand_check(), which controls all demand updates, to
demandupdatecheck(), which controls only unscheduled ones.  Fixes
update command not to lie about the next scheduled demand update.

(demandupdatecheck): Check updates_disabled() so that zdone no longer
claims to trigger an update when it can't.
2007-07-11 22:27:29 +00:00

105 lines
2.4 KiB
Groff

.TH EMP_SERVER 6
.\" Note: Options specific to the native Windows port are suppressed
.\" unless you format with non-zero number register w, e.g. by
.\" supplying -rw1 to nroff.
.SH NAME
emp_server \- Empire server
.SH SYNOPSIS
.B emp_server
[
.B \-dhpsv
]
[
.BI \-e " configfile"
]
.if \nw \{\
.br
.B emp_server
[
.B \-i
|
.BI \-I " service-name"
]
[
.BI \-e " configfile"
]
.br
.B emp_server
[
.B \-r
|
.BI \-R " service-name"
]\}
.SH DESCRIPTION
.B emp_server
is a daemon which listens to the Empire port for players connecting to
the game. For more information on the game of Empire, see the info
pages within the game.
.SH OPTIONS
.TP
.B \-d
Debug mode. This will prevent the server from forking itself into the
background. It will also make it abort when it detects an internal
error. You normally want to use this flag if you are running
.B emp_server
from within a debugger.
.TP
.BI \-e " configfile"
Use game configuration in \fIconfigfile\fR.
.TP
.B \-h
Help. Print brief usage information and exit.
.if \nw \{\
.TP
.B \-i
Install as a Windows Service called "Empire Server".
.TP
.BI \-I " service-name"
Install as a Windows Service with the specified name.\}
.TP
.B \-p
Threading debug mode. Implies \fB-d\fR.
.if \nw \{\
.TP
.B \-r
Remove the Windows Service called "Empire Server".
.TP
.BI \-R " service-name"
Remove the Windows Service with the specified name.\}
.TP
.B \-s
Enable thread stack checking.
.TP
.B \-v
Print version information and exit.
.SH OPERANDS
Operands are ignored for backward compatibility. Their use is
deprecated.
.if !\nw \{
.SH SIGNALS
.TP
.B SIGHUP
Request
.B emp_server
to reopen log files and reload its configuration. This allows proper
log rotation. Only the update schedule is reloaded at this time.
.TP
.BR SIGINT ", " SIGTERM
Request
.B emp_server
to shut down immediately.
\}
.if \nw \{
.SH RESTRICTIONS
When using the service control manager (Services Window), the start
parameters are not processed. The only parameters processed are the
ones supplied during service installation. To modify the startup
parameters, you must remove the service and reinstall the service.\}
.SH BUGS
Please report all bugs to the Wolfpack <wolfpack@wolfpackempire.com>
.SH "SEE ALSO"
\fIempire\fR(6), \fIfairland\fR(6), \fIfiles\fR(6), \fIpconfig\fR(6).
.SH AUTHORS
Dave Pare, Jeff Bailey, Thomas Ruschak, Ken Stevens and Steve McClure
are principal authors. The full list of authors is too long to
include here.