[Mono-list] mono-service

Bradley, Peter PBradley at uwic.ac.uk
Tue Nov 1 05:07:45 EST 2005


Could I take the opportunity to add my voice to this?  I was intending
to post something similar when I'd done a bit more work on the topic,
but Wilson has beaten me to it.

 

The mono-service man pages are very sparse.  If I can get it working,
I'd be very happy to write it up as a How-To sort of document for
others.

 

Thanks

 

 

Peter

 

  _____  

From: WILSON LEI [mailto:wilson_lei at hotmail.com] 
Sent: 31 October 2005 13:44
To: mono-list at lists.ximian.com
Subject: [Mono-list] mono-service

 

Hi,

 

I am trying to port a windows service project to Linux (SuSE 10
Desktop). The project compiles fine and I have an EXE. I then add
mono-service myservice.exe into my startup script, however, the service
is not started. I got an error saying "Exec format error". Could someone
help me on this?

 

I also complied a simplest service and tried to run it on Linux using
mono-service, I saw the Main() was called but the OnStart() function is
not. Could someone guide me how to make a service on Linux just like a
daemon?

 

Thanks,

 

Wilson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051101/a73cd0cc/attachment-0001.html


More information about the Mono-list mailing list