[Mono-list] Auto Running Processeses

Travis Staloch twostepted at yahoo.com
Tue Jun 20 01:39:25 EDT 2006


   Lee,

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.  
 
 --Travis

Lee <lee at datatrakpos.com> wrote: 

Hi all, 

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.

Thanks,

Lee

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


 		
---------------------------------
Want to be your own boss? Learn how on  Yahoo! Small Business. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060619/a0437cd3/attachment.html 


More information about the Mono-list mailing list