#! /bin/bash export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" while [ true ]; do ./hlds_i686 -game ns -maxplayers 32 -pingboost 1 +map co_faceoff +ip 78.143.28.20 echo "Server crashed at '`date`' - Restarting" echo "Server crashed at '`date`' - Restarting" >> crash.log sleep 5 done