Re: [Mono-list] xsp.exe as windows service
On Wed, 02 Feb 2005 11:42:35 +, Jonathan Stowe jns@gellyfish.com wrote: On Tue, 2005-02-01 at 17:36, marius popa wrote: I have started apache and xsp (unsing mod_proxy module) and want to put xsp.exe to run as serivice at startup What should i do ? add service code for xsp ? Yep, I guess this would be possible however you might have to compile the xsp.exe using the .NET libraries as the mono System.ServiceProcess.ServiceBase didn't really do anything last time I checked (it doesn't need to on Unix of course). Simply put you should just be able to add amother class derived from ServiceBase and re-name the Main() in XSP to something else and then call that from the OnStart() method of your new class. Ok thanks i will try to implement that , another idea i have is to install mcs as service using cygrunsrv (already running a few services with that ) ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] xsp.exe as windows service
On Tue, 2005-02-01 at 17:36, marius popa wrote: I have started apache and xsp (unsing mod_proxy module) and want to put xsp.exe to run as serivice at startup What should i do ? add service code for xsp ? Yep, I guess this would be possible however you might have to compile the xsp.exe using the .NET libraries as the mono System.ServiceProcess.ServiceBase didn't really do anything last time I checked (it doesn't need to on Unix of course). Simply put you should just be able to add amother class derived from ServiceBase and re-name the Main() in XSP to something else and then call that from the OnStart() method of your new class. /J\ -- This e-mail is sponsored by http://www.integration-house.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] xsp.exe as windows service
I have started apache and xsp (unsing mod_proxy module) and want to put xsp.exe to run as serivice at startup What should i do ? add service code for xsp ? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list