#!/bin/bash
screen -A -m -d -S server27910 ./server27910.sh
The above code is in a file I call start_server27910.sh
I launch it with the command ./start_server27910.sh
The referenced file server27910.sh contains the following:
#!/bin/sh
while true; do
./paintball2 +set dedicated 1 +set public 1 +set maxclients 16 +exec server27910
done
[code]
[/code]