On Wed, Oct 3, 2018 at 7:09 AM Mga Kar <mgk8...@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/

Reply via email to