2 # Massive Network Game Object Server
7 echo "MaNGOS daemon restarted"
8 echo `date` >> crash.log
&
9 .
/mangosd |
tail -n 20 >> crash.log
10 echo " " >> crash.log
&
11 pid
=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`
13 echo `date` ", MaNGOS daemon crashed and restarted." >> serverlog