[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN as windows service?

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2004-05-29 13:59:44 CEST

Hi Jostein,

Jostein Chr. Andersen wrote:

>On Monday 24 May 2004 22.43, Ben Collins-Sussman wrote:
>
>
>>On Mon, 2004-05-24 at 15:40, Toby Johnson wrote:
>>
>>
>>>I don't blame Subversion's authors at all for not including this
>>>support for Windows. Starting a daemon on Unix is as easy as a
>>>fork(). Windows requires you to jump through crazy hoops to get this
>>>functionality.
>>>
>>>
>>Actually, I believe that Jostein Anderson is working on writing a real
>>'service' for svnserve. He intends to include it in the win32
>>install-wizard someday.
>>
>>
>
>Oh, I have missed this posting, but I can answer/comment it anyway.
>
>I don't know how to turn svnserve into a real service under Windows and I
>don't think that I have time to learn how to do it within a very near
>future (well I might try in the beginning of the next week).
>
>How does Apache do it? Is this an Apache or APR issue? I can't imagine
>that's black belt programming when making svnserve to run as a real
>service under Windows.
>
>
The service code of apache is in server/mpm/winnt/service.c. Running as
a service consists of 2 seperate task.
1. Using the service control manager to add or remove the service to the
system.
2. Running as a service. This means comminicating with the service
control manager for starting and stoping the service and running the
real service normally as a seperate thread.
Is is not black belt programming, but having a sample helps.

>It would be nice if someone can code it or give me a starting point of
>turning svnserve for Windows into a real service.
>
>
I have any questions about this, feel free to contact me via personal mail.

>Jostein
>
>
>
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 29 14:00:16 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.