[ home | members area | support |  | purchase ]

[ knowledge base | create ticket | view ticket | lost ticket? ]
Knowledge Base

Search for:
Knowledge Base >> Installation/Upgrades & Licensing

Setting up Remote Start

SYMPTOMS

Will not remotely stop a server. Will not remotely start a server.

SOLUTION

This kb entry will explain how to get the remote start feature of exoGameCtl working. In order to use the remote start feature each gameserver MUST be running as its own user.

1. Install your users gameserver (hlds) into /home/USER/hlds_l.

2. Create a startup script for the gameserver and call it start_hlds.sh. We have included a sample startup script in the remote_start directory of exoGameCtl.

3. Copy the sample exo_test.sh file from the remote_start directory to the users home directory (/home/USER/).

4. Open the exo_test.sh file that you just copied over in your favorite text editor and change the user_home variable to the users home directory (/home/USER).

5. You will need to setup a cron job AS THE USER to check for new server start/stop requests from the control panel by running the following command AS ROOT...

crontab -u -e

That command will start the user crontab editor (your default text editor) and you will need to put the following line in it (change USER to the users login)....

1-59 * * * * /home/USER/exo_test.sh > /dev/null 2>&1

This will check every minute to see if any new server stop/start requests have come in from the control panel and if so, it will execute them.

Thats it! The user is now ready to use the remote start feature.

(FYI. You need to go through the following steps for EACH USER, unless your using the exoInstaller.)


© Copyright 2002-2005 exoGaming, All Rights Reserved
exoControl, exoGameCtl and exoGaming are Trademarks of Webmaint Limited