Wrap server as a Windows service
Cellivar opened this issue ยท 2 comments
Linux can just run the game as a screen, but Windows requires an account to be logged in for any console programs to run in. .NET has wrapper classes to enable a program to run as a service, but this will have to be done in a Linux friendly way.
It looks like it will 'background' the program fine, but it doesn't actually run as a service. As a result when a user is logged off the program still terminates. I'll take a look at what is involved, if it's too far out of scope then I can look at a wrapper program.
As much as it's needed, I don't this is in DMP's scope.
I've used something like hstart ( http://www.ntwind.com/software/hstart.html) before to run things in the background before however, could this be used to run it in the background?