SRCDS Steam group


How to run multiple servers (on one server) with different configurations?
#1
I'm trying to add another server to my current one. I have two separate instances running of CSS via:
Code:
./srcds_run -game cstrike +map cs_office -maxplayers 32 -port 27015
and
Code:
./srcds_run -game cstrike +map cs_office -maxplayers 32 -port 27016
How an have the two run different server.cfg files?

Thanks in advance!
Reply
#2
just copy the whole install folder to a different one or use sym links.
Reply
#3
fqdn Wrote:just copy the whole install folder to a different one or use sym links.
Had thought of that, but it seems like a windows solution to me. Can't you specify which config file to execute on server load?
Reply
#4
you can however, it will always execute whatever is in the addons folder, if you want to run the same addons for every server that's great. if you don't then it won't work.
Reply
#5
I believe it is the '+servercfgfile' switch on the startup line.
[Image: ggbarzc2.png]
Reply
#6
if you can, dont run 2 or more server from same folder... even one server runs full of people the other server will lag
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#7
get Wrote:if you can, dont run 2 or more server from same folder... even one server runs full of people the other server will lag
Wouldn't the lagging still be an issue if you just symlinked the entire directory as well?
Reply
#8
yes a symlink runs also
so you can remove the link of .cfg files and fit instead other cfg files
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)