mcwrapper
mcwrapper copied to clipboard
restart minecraft server if it goes away or fails
If mcwrapper detects that minecraft_server's process goes away, have an option to automatically restart it.
Another cool feature could be to keep a counter of how many times it's been restarted and when the last restart occurred... if the last restart is outside of a pre-determined threshold, then reset the counter. If it's not, increment it...
In the event that the server has been restarted too many times in too short a period of time (it repeatedly goes down), then have an option to log the event and stop it and maybe even send an email or send some other kind of notification.