Refactor was needed in order to capture the entire container log (including things like steamcmd) reliably.
The gracefully shutdown i had written previously wasnt actually waiting for the gameserver to shutdown, i tried with kill -SIGINT on multiple processes, tried using wineserver -k but none of those actually were properly shutting it down, so i came up with the solution of shutting it down on an more windows way.
Refactor was needed in order to capture the entire container log (including things like steamcmd) reliably.
The gracefully shutdown i had written previously wasnt actually waiting for the gameserver to shutdown, i tried with
kill -SIGINT
on multiple processes, tried usingwineserver -k
but none of those actually were properly shutting it down, so i came up with the solution of shutting it down on an more windows way.