Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple __configuration.cfg files #34

Open
anderscripts opened this issue Sep 23, 2019 · 0 comments
Open

Support multiple __configuration.cfg files #34

anderscripts opened this issue Sep 23, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anderscripts
Copy link
Owner

Use case for owners that want to run multiple servers off the same resources folder but want to have different queue settings per server. (IE, one server uses reserved slots, the other does not. Or one server is marked as white list only, the other server is not. Etc.)

Added to __configuration.cfg

# If you run multiple servers using the same resources folder then it is possible to have multiple __configuration.cfg files for by server custom queue settings
# If this is set to true it is required to set server_name "something" in your server.cfg file or another cfg file that is executed before the queue starts
# If this is set to true the server will load __configuration_something.cfg if your set server_name "something" is used
# __configuration_something.cfg must be in the same folder with __configuration.cfg to work properly
set q_use_custom_config "false"

This will require set server_name "custom_name" in server.cfg before fivemqueue is started and will also require a __configuration_custom_name.cfg with the customized settings.

@anderscripts anderscripts added the enhancement New feature or request label Sep 23, 2019
@anderscripts anderscripts self-assigned this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant