[Mono-list] xsp.exe as windows service

marius popa marius popa <mapopa@gmail.com>
Fri, 4 Feb 2005 00:32:51 +0200

On Wed, 02 Feb 2005 11:42:35 +0000, 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 )