Tremulous Forum

Community => Servers => Topic started by: infestor1 on July 31, 2009, 06:24:49 pm

Title: possible to run multiple servers at once?
Post by: infestor1 on July 31, 2009, 06:24:49 pm
So for my clan that i am working on, i will be having 2 servers. A private (password protected) and public.

I am already hosting the public 24/7, but I would like to bring the private one up if we are having practice or something like that.

So how do i host 2 servers at once? Would i need to have a whole different base folder and everything? Or could i have a different server.cfg and different admin.dat and set g_admin to the diffferent admin.dat and "exec server2.cfg" in my startup command?

K thanks. :P
Title: Re: possible to run multiple servers at once?
Post by: David on July 31, 2009, 07:02:06 pm
You can use the same main install (where tremded is) but will need a different fs_homepath.
I run every server under it's own user, but you can also set fs_homepath to ~/.tremulous2 or whatever in the command line.

I don't think every file you would need to rename has a cvar to do it.
Title: Re: possible to run multiple servers at once?
Post by: Archangel on July 31, 2009, 07:09:42 pm
different usernames is the easiest method
Title: Re: possible to run multiple servers at once?
Post by: Undeference on July 31, 2009, 08:30:52 pm
timtowtdi
You can probably get away with only having different g_admin, g_adminLog, and g_log/File between servers, assuming you care about them.
Title: Re: possible to run multiple servers at once?
Post by: kevlarman on August 01, 2009, 01:46:26 am
timtowtdi
You can probably get away with only having different g_admin, g_adminLog, and g_log/File between servers, assuming you care about them.
there's still a small chance server_autogen.cfg will get trashed if you do that.