#!/bin/bashscreen -A -m -d -S server27910 ./server27910.sh
#!/bin/shwhile true; do./paintball2 +set dedicated 1 +set public 1 +set maxclients 16 +exec server27910 +map midnightdone
Here's what I do:screen -S <servername>cd /path/to/paintball2gdb paintball2run +set dedicated 1 ...ctrl+A+DThen if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.