Topic: Linux bash script for managing quake live servers
DooMer One Man Army
Joined: 23 Dec 1999 Posts: 10568
Posted: 04-11-2017 11:47 AM
I wrote a small bash script last year so i could easily change game types and stuff. I'll post it here, maybe it will come in handy for somebody.
You basically make a config and mappool for each gametype and stick it in baseq3. (configs should be called ctf_server.cfg, mappool_ctf.txt for example.) Replace the baseq3 in the script with the path of your baseq3. It swaps out the server configs for you and kills the qz process. You should use something like supervisord which will restart the qzeroded process automatically if it isn't running. http://supervisord.org/