If you still need this:
Try compiling your app in release mode, then execute the mono-service without the --debug
taladon wrote:
Hi all,
First off I just want to say what a cool project this is. Mono has allowed my company to avoid using Windows for our server, but still be able to use C# code that has been written for our specific purposes.
That being said, I'm having an issue getting mono-service2 to run my service. It only runs when it is passed the --debug parameter. I didn't see much in any of my logs about what the issue is. I am running CentOS 5.2 (with all system updates), Mono version 1.2.4, installed via yum install mono-core, mono-extras.
I am running the service with the command: mono-service2 /home/service/service.exe --debug
I have not yet written a script to load the service as a daemon.
Thanks in advance for any help or suggestions.
God bless.
--Taladon
--business link coming soon