|
Dedicated Server Run Terminal all the time
Hi,
I have a dedicated server for hosting call of duty (game), the server is in a remote location:
Quick spec:
CentOS 3.5
Webmin + DirectAdmin
P3 733MHz
128MB RAM + 512MB Swap
cod_lnxded patched v1.5
I use ZOC ssh terminal (windows) to control the server, the problem is I when I close zoc or disconnect the ssh session ends!of course, turning the game server off!!. But this is no good for a 24/7 dedicated game server, as my pc is not always on, to keep the session on.
What I would like to do if possible is:
1. Automatically start the server on BOOT UP using this command
./cod_lnxded +set dedicated 2 +exec server.cfg
Then when the server console is up and running I need to do this:
pb_sv_enable
g_gametype sd
map mp_carentan
And that allows users to connect.
Is there a way of setting up once and never doing again?
Many thanks
|