Jump to content
  • 0

[AWAITING USER REPLY]About "MaNGOS daemon restarted"


zlxppp

Question

There has a "run-mangosd" in old mangoszero


#!/bin/bash
# Massive Network Game Object Server
# autorestart Script


while :
do
echo "MaNGOS daemon restarted"
echo `date` >> crash.log &
./mangosd | tail -n 20 >> crash.log
echo " " >> crash.log &
pid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'`
wait $pid
   echo `date` ", MaNGOS daemon crashed and restarted." >> serverlog
done

Can i use it in new mangoszero?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use