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

Re: Auto-create repository?

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-10-17 00:53:04 CEST

> >IMHO, that's a task for a CGI script. You could do that in about 10
> >lines of python.
>
> I tried doing this (but not with Python) but I couldn't figure out
> how to restart httpd. In other words, after the repository is
> created and httpd.conf is updated to serve it, the CGI can not kill
> and restart httpd to make the new repository visible.

Yes, it can kill it! With a SIGUSR1 signal, of course. :-)

This command will do the job for you:

apachectl graceful

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 00:54:08 2002

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.