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

Add svnserve --pid-file option

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-12-16 20:50:06 CET


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?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 16 20:52:12 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.