==================Original README from Gunjin================

Here are two files that are useful for keeping a game up and running.

crontab is the entries that you should add to your private crontab
if you system allows that, otherwise add it to the system crontab,
assuming you can.  You must add a country to the game for the script
to use.  I add UpCheck, and leave it a new country with no sanctuary.
If people try and use this country, it can cause the game to be restarted,
so make sure nobody finds out the password.  If they do use it, it will
be logged in login.log.

The other program "isempireup" should be in the path for the crontab
entry.  The comments inside the script should explain most of the
arguments, but the last argument is important, as it tells where
the empire game directory is located, relative to the login directory
of the person that submitted the crontab.

When starting the game, you should give emp_tm & emp_login an argument,
which is used by the script to find those processes.  If you do not,
you can wind up with two update processes, which will screw up the
updates big time.

I use

	emp_tm merc ; emp_login merc

to start the game, which is the directory ~/merc5/EMP/{bin,data,info.nr}

The command

	isempireup -start merc merc5/EMP

will kill the current running game, and restart it.  This is useful to do
every couple of days, in case you leave town, the game will eventually
get restarted if it hangs in a wierd way.

	isempireup -check merc merc5/EMP 1617 UpCheck "secret"

will log into the game as UpCheck.  If it fails to login to the
game, it will kill emp_tm & emp_login (if they exist) and
then restart the game.   This save my butt regularly.  Any time
the machine goes down, the game automatically comes right back
up within 10 minutes.

==========================Addenda from Bob @ UAlberta===========================

	Changes you'll have to make to make it work on your site..

	Set the CLIENT and EMPIREDIR variables at the top of the
"isempireup" script

	I commented out the line EMPIREHOST=`/bin/hostname` since our
silly site admins can't decide to keep the fully qualified name in
there.. Comment out the line below that hardwires it to forestburg.cs
and uncomment it.

		-Bob

===============================Addenda from Tom=================================

	There is also a copy of a script Evil wrote, called saveass that makes
backups of the game directories. The crontab file contains entries for both
sets of scripts, and a brief explanation.

Tom
