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

Better storage.cfg support for configs #42

Open
ChillerDragon opened this issue Jul 31, 2021 · 2 comments
Open

Better storage.cfg support for configs #42

ChillerDragon opened this issue Jul 31, 2021 · 2 comments

Comments

@ChillerDragon
Copy link
Member

Newer servers are more restrictive when it comes to absolute paths

Starting the sever with ./teeworlds_srv -f /home/user/server/autoexec.cfg is kinda problematic. Currently all my prod servers somewhat run and I never really cared why. But everytime I test locally I have to fallback to some ~/.teeworlds hacks. Would be clean to either provide a storage.cfg that adds $SCRIPT_ROOT or copy configs to ~/.teeworlds/ddpp-configs/$CFG_SRV_NAME/

I think providing a storage.cfg would be cleaner to avoid duplication of files and also keep everything in one folder that can be wiped. Also it would add support for maps and all the other storage things.

@ChillerDragon
Copy link
Member Author

teeworlds/teeworlds#2838

@ChillerDragon
Copy link
Member Author

Maybe when using a cfg/ git repo auto create a symlink from cfg/storage.cfg to bin/storage.cfg

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