SRCDS Steam group


easy & simple (re-)startscript
#6
If you want to run it for more than instance, check for the screentab instead of the process

Code:
if [[ `screen -ls |grep screenname` ]]
   then
       echo "running"
   else
    cd /home/gameserver/servers/xxx/halflife2
    /usr/bin/screen -A -m -d -S screenname ./srcds_run -game cstrike -ip xxx -port 27015 -tickrate 100 +fps_max 0 +map de_piranesi -maxplayers 35
   fi
Reply


Messages In This Thread
easy & simple (re-)startscript - ulx - 02-18-2010, 10:07 PM
RE: easy & simple (re-)startscript - ulx - 02-20-2010, 01:04 AM
RE: easy & simple (re-)startscript - Terrorkarotte - 02-20-2010, 03:39 AM

Forum Jump:


Users browsing this thread: