We set up our TF2 servers to work in just that way.  Firstly you need to set up 
one location to store all the common files (e.g. maps, materials, sounds) then 
delete them from the individual server installs.  Once done you can create a 
symlink in these empty gameserver folders to point to the shared folders (e.g. 
mount --bind <source folder> <target folder>.) This is not a permanent setup 
and will be lost if you reboot.  I'm still learning linux and this is something 
I'm still working on.  

I'm considering cron the use of jobs to periodically renew these symlinks, but 
if anyone knows a better, more efficient way to do this I'll be glad to hear 
from them.  Modifying fstab didn't pan out too well heh heh.

We also created a series of symlinks and folders so that everything we need to 
run the servers are shown in one place (for easy ftp management.) For file 
storage this is by far the most efficient way to run TF2 servers we know.  Our 
drive usage has shrunk considerably (virtually halved.) 

Hope this helps.  As I said I'm still learning but if you need more help let me 
know.
Andy Wallace

--- On Sat, 13/2/10, bl4nk <[email protected]> wrote:

From: bl4nk <[email protected]>
Subject: Re: [hlds_linux] Running multiple TF2 servers from one install
To: "Half-Life dedicated Linux server mailing list" 
<[email protected]>
Date: Saturday, 13 February, 2010, 22:18

You can set the mapcycle file using the cvar "mapcyclefile". As for
individual .cfgs, I'd say just get a plugin created that will execute
configs from a different folder specified by a cvar (really easy to create,
someone competent with SM coding can do it in no more than 5 minutes).

On Sat, Feb 13, 2010 at 5:13 PM, Gene Hardesty <[email protected]>wrote:

> You might be able to accomplish that by using a single "real" copy and
> symlinks so you have a bunch of "virtual" dirs of tf2, all sharing the base
> files but have their own cfg files (aka, non-common files)
>
> Might be a pain to do and set up though.
>
> G.
>
> On Sat, Feb 13, 2010 at 1:57 PM, Peter Reinhold <[email protected]
> >wrote:
>
> > Hi All,
> >
> > I found a mention from an earlier thread about running multiple
> > instances of TF2 servers from one TF2 install dir, and that it seemed
> > to work fine. (separate .cfg files, separate MOTD files etc)
> >
> > BUT, what about for instance mapcycle.cfg or individual map .cfg files?
> >
> > I haven't been able to spot a CVAR that controls those, and i'm
> > thinking that running multiple servers will have all of those running
> > the same mapcycles etc etc.
> >
> > So, will it be safer to just duplicate the whole install folder (disk
> > space is not really an issue), or does anyone know if its possible to
> > truly run multiple TF2s from a single base install dir?
> >
> >
> > /Peter
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux



      
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to