View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 09-09-2014 , 12:37   Re: Multiple servers from same SRCDS installation => Bad?
Reply With Quote #10

You can symlink:

folders: ln -s /originalfolder/somefolder /instance/
files: ln -s /originalfolder/anotherfolder/file.ext /instance/anotherfolder

So what you have to do is:

.- For full folder symlink: symlink folders
.- For folders with specific and global files, create the same folder structure and link global files, create custom files

It's a hard work. I suggest to create your own tar.gz file with your symlinks skeleton, then you can use that file to install each game instance and after that create custom files (or include default custom files in your tar file)


PS: cp -rs will work, but it's better in performance to symlink full folder and not each file.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 09-09-2014 at 12:38.
joropito is offline
Send a message via MSN to joropito