[Mono-list] Creating a Daemon un Linux

Danny dgortonii at gmail.com
Fri Mar 18 00:20:52 EDT 2011


You want to look into implementing a standard 'Windows' service (using 
the service template is easiest, but since you didn't mention your dev 
environment I can't say how you'd go about it) where you subclass 
ServiceBase and then control it with mono-service or mono-service2 and 
an init.d script.

Last time I did this, a long time ago, I had to piece my solution 
together from information about each of these parts.  But it isn't 
terribly difficult, just kind of obscure at the moment so getting a full 
end-to-end explanation doesn't seem easy.

On 03/18/2011 12:06 AM, Leonel Florin Selles wrote:
> Hi:
>
> I want to create a Linux daemon using mono 2.6.7 on monodevelop with C#,
> I'm working with Debian squeezy.
>
> I'm came from C++ and for do this used ths fork() funtion, but here I do
> not know what to use, theres is someome that know, I have search in
> internet but i don't fine.
>
>
> help please.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list