I have a server.cfg file full of sm_cvar commands and when I run a server through ./srcds_run , the server starts up and executes all the commands appropriately and the server is working fine.
If I try to keep server.cfg empty and put in the server command line +exec server1.cfg
./srcds_run +exec server1.cfg
The command gives me Unknown command "sm_cvar" when it's executing the commands from server1.cfg
I want to run same two servers for left4dead2 but with adjustments in sm_cvar values. Thus I'm looking at server1.cfg & server2.cfg for server 1 & 2 respectively.
The executable command is working fine but srcds_run is not loading it's own set of commands into memory before executing server1.cfg.
After all, If i keep it server.cfg, The server works fine.
Any idea what's wrong here or how can we counter the dilemma.
Thanks.