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

Re: Add svnserve --pid-file option

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-12-16 20:57:59 CET

On 12/16/05, Peter N. Lundblad <peter@famlundblad.se> wrote:
> Hi,
>
> After having strugled with running RC testing and nightly test scripts in
> parallell and having got problems killing the right svnserve, I really
> feel the need to get the PID of th svnserve process somehow (not by
> running ps and grepping for svnserve). I think this is pretty useful for
> deamon administration tools and distributions as well.
>
> So, I want to add a --pid-file option, taking a filename argument.
> When svnserve has demonized (if it wants to), it writes the return value
> of getpid() (and a newline) to that file. getpid() seems pretty portable
> (Apache seems to use it directly).
>
> I know that some people don't want svnserve to grow much further, but this
> little improvement will probably be very helpful. This seems like a
> twenty-liner or something to add.

+1, seems reasonable to me, although I'm not sure what it should do on
systems without getpid()...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 16 21:05:03 2005

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.