[Mono-list] Service or daemon with Mono?

Amc Gmail amc1999 at gmail.com
Tue Jul 14 15:39:48 EDT 2009


We don't have any problems with .NET service running under Mono. 
It's based on ServiceBase, uses EventLog and .NET Remoting without any problems.
All you need to do is to create init.d script to start/stop mono-service during startup/shutdown
-- amc

----- Original Message -----
From: "jos_" <junk at sonhult.se>
To: mono-list at lists.ximian.com
Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern
Subject: [Mono-list]  Service or daemon with Mono?


Hello,

What is the recommended way to write a service-like software in Mono?

My first guess would be to use the normal class ServiceBase existing in Mono
(and .NET of course). But there seems to be little information on how this
works with Mono, and from what I've read it is not considered stable (?).

1. Is it better to just create a normal app, turn on automatic login and run
it at login?
2. Is it possible to create a daemon using Mono?
3. Is there any documentation on how to "install" the "service" if developed
in Mono using ServiceBase (or any other method)?

In short: I'm looking for a way to build the Linux equivalent for a service
using Mono, and install it on a Linux-dist =)

Thanks in advance!
/ Jonas
-- 
View this message in context: http://www.nabble.com/Service-or-daemon-with-Mono--tp24478743p24478743.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
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