The reason why symlinks aren't working for him via ftp is that the user is 
being chrooted into a directory that the symlinks points outside of.  To make 
those mounts persist through a reboot you can add them to the end of /etc/fstab 
- an example would look like

/folder_for_bin /chroot/someguysfolder/bin none bind
/folder_for_data /chroot/someguysfolder/data none bind

-octo

On Sun, Feb 14, 2010 at 07:29:39PM +0000, Andy Wallace wrote:
> Thanks for that little snip of info.? I'll look into that :)
> 
> --- On Sun, 14/2/10, Peter Lindblom <[email protected]> wrote:
> 
> From: Peter Lindblom <[email protected]>
> Subject: Re: [hlds_linux] Running multiple TF2 servers from one install
> To: "Half-Life dedicated Linux server mailing list" 
> <[email protected]>
> Date: Sunday, 14 February, 2010, 19:05
> 
> If you want to use ssh as ftp, (because ssh2 its much safer then ftp) use 
> Filezilla
> http://filezilla-project.org/
> then symlinks is working !
> 
> Peter
> 
> 
> ----- Original Message ----- 
> From: "Andy Wallace" <[email protected]>
> To: "Half-Life dedicated Linux server mailing list" 
> <[email protected]>
> Sent: Sunday, February 14, 2010 7:24 PM
> Subject: Re: [hlds_linux] Running multiple TF2 servers from one install
> 
> 
> Why? because I used "ln -s <source> <target>" before but the symlinked files 
> didn't show on ftp. They were only visible in an ssh console which is no 
> more use than a chocolate firegaurd to me. As far as I can tell 
> "mount --bind <source> <target>" is better - simples!
> 
> With the mount command I get exactly what I need - the same files symlinked 
> but all viewable in ftp. Personally I'm happy with the setup I have.
> 
> Whichever method suits mate - I'm only trying to help - so get off my case.
> 
> --- On Sun, 14/2/10, Steven J. Sumichrast <[email protected]> wrote:
> 
> From: Steven J. Sumichrast <[email protected]>
> Subject: Re: [hlds_linux] Running multiple TF2 servers from one install
> To: "Half-Life dedicated Linux server mailing list" 
> <[email protected]>
> Date: Sunday, 14 February, 2010, 17:42
> 
> Why would you use mount and not just use "ln -s /source/path/folder
> folder"? That's how I run all my servers with great success.
> 
> I used to run all server from one install and load plugins for
> sourcemod as needed. That became combersome quick though. Having
> multiple instance folders all symlinked using the same common
> directories works flawless for me.
> 
> Steven J. Sumichrast
> 
> On Feb 14, 2010, at 6:41 AM, Andy Wallace <[email protected]>
> wrote:
> 
> > 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
> 
> _______________________________________________
> 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

_______________________________________________
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