I have a Windows service that I want to run with Mono on Linux. I can run it as a service using mono-service, and this works fine.
I also want to mkbundle
the application to ease deployment for end-users, so they don't need to mess around installing Mono themselves.
What is the recommended way to run the resulting native binaries as a service on Linux, while still handling the OnStart
and OnStop
events?