pruiz / Topshelf.Linux

Topshelf extensions allowing compatibility with mono/linux.
Apache License 2.0
41 stars 14 forks source link

now listening to Unix Signals to exit gracefully #7

Open mkobaly opened 8 years ago

mkobaly commented 8 years ago

When running a mono application using docker the container and trying to stop the container it would take a while to exit and return with a non zero exit code.

LinuxConsoleRunHost is a copy of ConsoleRunHost from Topshelf with the UnixSignal support. LinuxRunBuilder is copy of RunBuilder from Topshelf where the LinuxConsoleRunHost is used.

mkobaly commented 8 years ago

I will update the pull request.