[Mono-list] xsp.exe as windows service
Wed, 02 Feb 2005 11:42:35 +0000
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.
This e-mail is sponsored by http://www.integration-house.com/