DDNetPP / server

Scripts to run production teeworlds servers.
0 stars 1 forks source link

Better storage.cfg support for configs #42

Open ChillerDragon opened 3 years ago

ChillerDragon commented 3 years ago

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 commented 3 years ago

https://github.com/teeworlds/teeworlds/issues/2838

ChillerDragon commented 2 years ago

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