Closed RyanMelenaNoesis closed 9 years ago
Hi,
I am surelly missing something here, as we are actually running services using mono-service right now. :?
What's exactly your issue here, just in case we might find an alternate solution?
The main issue was that previous to this patch, it was only possible to run a TopShelf service as a console app under linux (even when utilizing mono-service.exe as a wrapper). When the app is run as a console app under linux, stopping the application does not execute OnStop actions defined in TopShelf. By allowing the application to run as a service under linux (which this patch should only do when utilizing mono-service.exe as a wrapper) we enable the proper OnStop functionality.
Great addition, thnks!
Allows user to start application using mono-service.exe and have proper start/stop behavior.