[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: Michael Pilato <cmpilato_at_collab.net>
Date: 2005-12-16 21:17:55 CET

On Fri, 2005-12-16 at 20:50 +0100, Peter N. Lundblad 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.
>
> Anyone objects?

+1. Won't this also serve as an enabler for something like
an /etc/init.d/svnserve?

-- 
C. Michael Pilato <cmpilato@collab.net> 
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Dec 16 21:20:10 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.