danhale-git/craft

Errors in commands could leave servers in a broken state

Closed this issue · 2 comments

If the run command encounters an error while processing server files we get a container where the mc server process isn't running.

This has been mostly addressed but one area which needs sanity checking is the save hold/query/resume. This code should guarantee that the server is not left in a save hold state indefinitely as that will almost certainly cause an issue.

The backup process is now fairly robust and an error explicitly informs the user when the server may be in a broken state. I improved that error message slightly
f2b51c8