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

Re: svnserve could save its PID somewhere

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-06-20 18:01:41 CEST

Grzegorz B. Prokopski wrote:
> Before filling in a wishlist bug, I am supposed to discuss it here
> (according to "Issue Tracker Guidelines"), so here it goes.

Thanks for reading the guidelines first!

> b) use --foreground option and force detach in start-stop-daemon
> (this is debian utility havily used in /etc/init.d scripts),
> then I'll be able to use PID taken by start-stop-daemon to
> stop the server (this is even _documented_ as "last resort",
> ugly method in s-s-d manual page).

FWIW, I am planning on making '--foreground' a much more usuable switch next
month (during OSCON). One of the things I find lacking with svnserve is the
complete absence of logging.

I'm also annoyed by svnserve's lack of signal support (it has bitten me more
than once). I prefer to run my services under daemontools, and normally do

        svc -t /service/svnserve

to try and restart the service (like if I change the configuration file) or

        svc -dx /service/svnserve

if I want to stop the service entirely. I'll take a look at the signal support
at the same time (if no one beats me to it).

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 20 18:02:07 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.