This is still a work in progress, but I figured I'd post it early so I could get input or see if something like it already exists:
https://github.com/Sindern/rtb
It's meant to be placed in the server's folder along with the jar file, then run instead of the normal command to launch the server. It should monitor the server and re-start it if it ever crashes. It will also make full backups of your server folder every 4 hours (by default) just in case something horrible happens to your map and you can't get it working again.
Check the readme on the repo and be sure to edit the config at the top of the script before running it.
Please let me know of any features/bugs you notice with it.
https://github.com/Sindern/rtb
It's meant to be placed in the server's folder along with the jar file, then run instead of the normal command to launch the server. It should monitor the server and re-start it if it ever crashes. It will also make full backups of your server folder every 4 hours (by default) just in case something horrible happens to your map and you can't get it working again.
Check the readme on the repo and be sure to edit the config at the top of the script before running it.
Please let me know of any features/bugs you notice with it.