Jump to content
  • 0

Server restart problem


myraje

Question

Hi,

I have a problem with the restart command, i have writing a script for reboot the server if the "exitcode==2".. It doesn't work because Mangosd return always a 0 !

My script for test:

echo "start server!";
./mangosd>/dev/null
echo $?;

Return always a zero for this command:

.server shutdown 10

.server restart 10

What is the problem?

Config:

Debian 6

Mangos one

Link to comment
Share on other sites

1 answer 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