[Mono-list] xsp2 and *nux question

2009-09-17 Thread Xu, Jiangyan
Hello,

I am using xsp2 as a lightweight server for my web application. I
wanted to run it as a daemon process but when I use xsp2  the
process immediately exits.

I guess the problem here is that xsp2 reads 'Return'
(Console.ReadLine()) as a signal to stop but when run as a daemon, the
stdin gives the process EOF or something. Is there a way to get around
this?

Best,

Jiangyan
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp2 and *nux question

2009-09-17 Thread Kornél Pál
Hi,

Use xsp2 --nonstop

Kornél

Xu, Jiangyan wrote:
 Hello,
 
 I am using xsp2 as a lightweight server for my web application. I
 wanted to run it as a daemon process but when I use xsp2  the
 process immediately exits.
 
 I guess the problem here is that xsp2 reads 'Return'
 (Console.ReadLine()) as a signal to stop but when run as a daemon, the
 stdin gives the process EOF or something. Is there a way to get around
 this?
 
 Best,
 
 Jiangyan
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp2 and *nux question

2009-09-17 Thread Xu, Jiangyan
Oops, this option doesn't show up in the man page but does show up
with xsp2 --help, which I forgot to check. Thanks!

Best,
Jiangyan



2009/9/17 Kornél Pál kornel...@gmail.com:
 Hi,

 Use xsp2 --nonstop

 Kornél

 Xu, Jiangyan wrote:

 Hello,

 I am using xsp2 as a lightweight server for my web application. I
 wanted to run it as a daemon process but when I use xsp2  the
 process immediately exits.

 I guess the problem here is that xsp2 reads 'Return'
 (Console.ReadLine()) as a signal to stop but when run as a daemon, the
 stdin gives the process EOF or something. Is there a way to get around
 this?

 Best,

 Jiangyan
 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp2 and *nux question

2009-09-17 Thread Marek Habersack
Xu, Jiangyan wrote:
 Oops, this option doesn't show up in the man page but does show up
 with xsp2 --help, which I forgot to check. Thanks!
Do not use xsp2 as a server for production code - it's not suited for that 
purpose. Perfectly ok for 
testing/development, though.

best,

marek
 
 Best,
 Jiangyan
 
 
 
 2009/9/17 Kornél Pál kornel...@gmail.com:
 Hi,

 Use xsp2 --nonstop

 Kornél

 Xu, Jiangyan wrote:
 Hello,

 I am using xsp2 as a lightweight server for my web application. I
 wanted to run it as a daemon process but when I use xsp2  the
 process immediately exits.

 I guess the problem here is that xsp2 reads 'Return'
 (Console.ReadLine()) as a signal to stop but when run as a daemon, the
 stdin gives the process EOF or something. Is there a way to get around
 this?

 Best,

 Jiangyan
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list