We host our games on a spare box at home, so it gets switched off when everybody is done playing.
I realised that
mineos.service only invokes “
/usr/bin/node service.js stop”, which kills the webui, but leaves the minecraft games running. When the machine shuts down, the games get killed without saving, corrupting them.
I have written a mineos_shutdown.js script, which lists the running games and stops them, and added it to
mineos.service. Could I contribute it to the codebase?