Jump to content

Home

Multiple Servers On Linux


jmcmike

Recommended Posts

Hey There,

 

I have three JK2 servers running on one Linux box. One of them is a test server.

 

Today I noticed that my test server was using a setting that is only set in another game server, even though it is not set in the CFG file for this server.

 

I know that jk2ded creates a hidden directory at the root of the users home directory called .jkii

 

It seems that perhaps, since only one jk2mpserver.cfg file is written for the base game, there is a possiblity for the servers getting their wires crossed when running multiple servers as one user.

 

Does anyone have some experience with how to successfully run multiple servers without being forced to use multiple user accounts?

 

Justin

Link to comment
Share on other sites

Just make sure that any setting used by one server instance is "covered" by the configs used by the rest. That way, they don't inherit something unintended. Another option might be to remove all individual server-specific settings from the jk2mpconfig.cfg and then make it read-only.

Link to comment
Share on other sites

You've done it again! :)

 

The first idea makes the most sense and explains the specific behaviour I was experiencing. Just explictily define everything needed in each config, prevent inheritance. Makes sense. Thanks.

 

Justin

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...