07-13-2013, 06:43 PM
that bit should work with mcserver
MCServer Autoupdate Script (for Linux)
|
07-13-2013, 06:43 PM
that bit should work with mcserver
(07-13-2013, 05:27 AM)xoft Wrote: You don't need to extract the config files, just instruct your unzipping program to extract only the binary. It works! (07-13-2013, 07:12 AM)jimmis98 Wrote:(07-13-2013, 02:11 AM)tigerw Wrote:(07-13-2013, 01:54 AM)jimmis98 Wrote: I think that this could be of some help. I managed to condense it quite a bit, so the script gracefully stops it now. Yay! To xoft: MCServer does capture and tie up SIGTERM right? So it stops gracefully?
Does this script restart server automatically? It would be very nice an automatic external restart script, to avoid deadlocks. If someone makes it work with mcserver please post it.
Should this restart script work? Is a php script that I found browsing the web. If set as an scheduled task maybe it detects if MCServer is crashed or deadlocked and restarts it.
PHP Code: <?php
07-15-2013, 05:57 AM
That is a windows-specific script that assumes that you have the MCServer on your desktop, and that your login is "user". Also, this script detects if the server is running by just pinging the server port; this will probably not detect a deadlock in the server, because the connection will still succeed.
07-15-2013, 06:33 AM
Ok, but, should it detect if server is crashed?
07-16-2013, 01:49 AM
Now the RPi buildserver is fixed, will this support Raspis?
(07-16-2013, 01:49 AM)bearbin Wrote: Now the RPi buildserver is fixed, will this support Raspis? If thou meanest this script, it should, once the wget address is changed. PHP can stop MCServer? Wow! You learn something new every day. I guess for the unresponsive restart, send SIGTERM, then maybe thirty seconds later, SIGKILL? Xoft: MCServer does respond well to SIGTERM, correct?
07-17-2013, 03:07 AM
|
« Next Oldest | Next Newest »
|