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

Re: How to Shutdown Svn Server

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 3 Oct 2018 10:14:59 -0400

On Wed, Oct 3, 2018 at 7:09 AM Mga Kar <mgk8501_at_gmail.com> wrote:

> I am trying to look for documents but haven’t found any relevant and not
> feeling confident on solutions here and there.
>
>
>
> I wanted a concrete solution documented in the subversion website to give
> notes on how to shutdown svn server.
>
>
>
> We are migrating the project to Bitbucket hence we need to stop anyone
> from pushing or committing to subversion.
>
>
>
> Also We are using ansible,so if there is a direct way in subversion is
> also helpful or else if we need to write a playbook to shutdown servers
> that will also be helpful.
>
>
>
> Eagerly waiting for response.
>
>
>

It depends on your OS and what server you are using. If you are using
Apache you stop Apache (service httpd stop), if svnserve then you stop that
(service svnserve stop). It really depends on how you installed it.

It is also pretty easy to leave a server running but make the repositories
all read-only:

https://stackoverflow.com/questions/2411122/how-to-freeze-entire-svn-repository-to-make-it-read-only

You can either alter the authz rules to remove all write permissions or
just add a start-commit hook that does an exit 1.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2018-10-03 16:15:28 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.