Open geoffmore opened 5 years ago
Based on https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/, it would be nice to have a pre-stop.sh that saves the world data and performs a clean exit. Since Terraria, similar to Minecraft, uses a console for all of it's command, this may be a bit difficult.
Maybe a pipe may be the solution here... https://unix.stackexchange.com/questions/31824/how-to-attach-terminal-to-detached-process
Based on https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/, it would be nice to have a pre-stop.sh that saves the world data and performs a clean exit. Since Terraria, similar to Minecraft, uses a console for all of it's command, this may be a bit difficult.