Running a Windows .exe service on Ubuntu (with Mono?) [closed]

I have a service that was coded that I need to move over to linux. Got the code and got it up and running as a .exe on windows to start using installutil.

However quite unsure how to get it working on ubuntu. From what I researched I needed mono, so I downloaded the complete mono and transferred my files over to my linux machine. I tried to run the service with the following command: mono-service myservice.exe (I am in the same directory as it). and it just seems like it didn't do anything. No error, no message, just went to a new prompt. It did create a PID but no service.

Checked my list of services and it was not there.

Is there a way to get this .exe running on start up (or at all even). Can't find any good example of init.d for exe files if that is what is required. Perhaps I am missing an important step. Any ideas?

Note: This got posted a duplicated to how to install a process. I am not trying to do that, I am trying to run it as a service. Which to my knowledge is not the same thing.

Version is 16.04

8 Reset to default

You Might Also Like