[Mono-list] Re: Long-running services

Oleg Deribas oleg at td.kharkov.ukrtel.net
Mon Jan 23 05:36:21 EST 2006


Mario Munda said the following on 23.01.2006 11:17:

> I have to write an application running under FreeBSD, and I choose Mono, 
> because it is simple.. This app does not need GUI, and it has to run as 
> a deamon.
> I know how to design and develop app, but i don't know how to set it to 
> run as a deamon.

Use System.ServiceProcess namespace and mono-service to run it as daemon 
(man mono-service). I'm not sure if it have any differences on FreeBSD, 
but I've tested it on linux and it works as expected.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3206 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060123/172fe5af/smime.bin

More information about the Mono-list mailing list