[Mono-devel-list] Services and eventlogs

Jörg Rosenkranz joergr at voelcker.com
Mon Aug 1 03:32:33 EDT 2005


Hello Casper,

> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com 
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf 
> Of Casper Hornstrup
> 
> My application has two services. How do you register the
> services on Mono/Linux? I'm looking for the equivalent of
> installutil.exe on Windows.

There is no such tool on Linux. You can run your services 
using mono-service. Please see the man page for its options.
Currently it is not possible to start two services from one 
EXE. You have to run mono-service twice to get both services.

> My application does its logging using the eventlog APIs. I
> cannot figure out where the eventlog entries are stored on
> Mono/Linux. Where are they stored? My application write only
> plaintext to the eventlog, not binary data.

The last time I've checked eventlog wasn't implemented. There
was some discussion about sending it to syslog (var/log/messages)
but I don't know if someone implemented this.

Joerg.



More information about the Mono-devel-list mailing list