service only runs with mono-service2 --debug switch

2 messages Options
Embed this post
Permalink
taladon

service only runs with mono-service2 --debug switch

Reply Threaded More More options
Print post
Permalink

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
--
View this message in context: http://www.nabble.com/service-only-runs-with-mono-service2---debug-switch-tp20109875p20109875.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
PSosa

Re: service only runs with mono-service2 --debug switch

Reply Threaded More More options
Print post
Permalink

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
>

--
View this message in context: http://old.nabble.com/service-only-runs-with-mono-service2---debug-switch-tp20109875p26200131.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list