[Mono-list] Auto Running Processeses
twostepted at yahoo.com
Tue Jun 20 01:39:25 EDT 2006
I've written a C# TCP socket service which runs on windows and linux. It uses System.ServiceProcess, inheriting from System.ServiceProcess.ServiceBase. The app was originally written on windows and worked fine there installed as a service using installutil. When I moved over to linux, I discovered that I had to start it with MonoService.exe (found in MonoRoot/bin I think).
I had to write an init.d script similar to the one mentioned here in order to get the process launched at OS startup.
Lee <lee at datatrakpos.com> wrote:
I apologize for the basic question here, but I am new to linux. To make
things a bit easier on myself, I'm using VS2005 for my development since I
use that for windows development as well. I am writing a TCP socket server
and want it to run as an automatic process.
Should that be written as a console app or as a Service app?
Again, sorry for the basic question.
Mono-list maillist - Mono-list at lists.ximian.com
Want to be your own boss? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list