Currently I’m running Garry’s Mod (for a TTT server) within GNU screen, so I can easily reattach to get access to the game console. (Running on a Debian box.) I have a shell script that boots the server with the required arguments, launching a new screen session.
However, I’d like to have some sort of process supervisor to automatically bring the game back up when it crashes. (e.g. systemd, daemontools, supervisord) But I’d still like to have an easy way to access the game console to watch it and issue commands when I SSH into the box. How’s the best way to go about this? Some sort of trickery to supervise the screen session? No screen session and some sort of RCON client? (Also, I’ve yet to find a simple, non-graphical Linux RCON client that acts in this manner…)