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.
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.