Seperate server.cfg?

Hi,

I’ve got 2 servers, both use a startup script (ubuntu) and I want to use a different server.cfg file for each server, example:

server_1.sh contains: ./srcds_run -game garrysmod -console +maxplayers 24 +gamemode superman

server_2.sh contains: ./srcds_run -game garrysmod -console +maxplayers 24 +gamemode superman +cfg server2.cfg

Something like that, but I tried a few things and it didn’t work, any ideas?

+exec file.cfg

I don’t know if SteamCMD has changed this, But you can use



+servercfgfile server2.cfg


I tried +exec server2.cfg, didn’t work

+servercfgfile works, thanks!