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 appending/editing startup commands to the launch script #38

Open
QuantumToasted opened this issue May 23, 2024 · 0 comments
Open

Comments

@QuantumToasted
Copy link

Hi there, just want to start off by saying I appreciate the work that you and every other contributor has done to make this image a thing - as it's great for spinning up and distributing servers quickly versus working with something like LinuxGSM.

I would like to be able to append the +randommap command line argument instead of manually specifying +map ${SRCDS_STARTMAP} as defined here, which unfortunately is hardcoded. I'm unsure what the best way to do this would be, as I believe the commands are mutally exclusive, but I prefer my server being able to pick a random map out of the mapcyclefile as opposed to always starting with a specific map.

I'm unsure if it would add unnecessary complexity, but maybe the following two things could be simultaneously added:

  • if SRCDS_STARTMAP is empty, don't append it to the startup command
  • support maybe an additional SRCDS_EXTRAARGS envvar which is simply appended to the end, if possible?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant