Running OwinHost as daemon on Linux under mono exits prematurely


OwinHost starts up and then waits for enter to be pressed. On Linux/mono, when running as a daemon, a call to ReadLine() returns EOF immediately, causing OwinHost to exit prematurely.

There should be an option to do a Thread.Sleep(Timeout.Infinite) instead of a ReadLine().
Closed Mar 2 at 9:54 PM by mgirgin
Unfortunately Mono is not supported


swish014 wrote Apr 16, 2015 at 5:22 PM

Submitted a pull request that should resolve this...

Tratcher wrote Jun 18, 2015 at 1:35 PM

FYI: Continued development of this component has moved to https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNet.Hosting/Program.cs