[SOLVED] Subversion / SVN Run File 12 May 2021, 12:05:01 The current subversion-runit run file is as follows====#!/bin/sh[ -r conf ] && . ./confexec svnserve -d --foreground $OPTS====I have to make changes to this file to run subversion -that is I remove the ./conf line and change $OPTS to use --daemon --root </path/to/my/repository/root> --config-file </path/to/my/svn/config/file>i.e exec svnserve --daemon --root </path/to/my/repository/root> --config-file </path/to/my/svn/config/file>When there is an update to subversion-runit, my changes are lost.So how can I prevent this from happening?Can I use the ./conf file ? Where is this located? and what should be in it so that it would match my command line?Thanks Last Edit: 12 May 2021, 13:59:29 by swdev1
Re: Subversion / SVN Run File Reply #1 – 12 May 2021, 13:46:51 You can create the conf file in the same directory as run (/run/runit/service/svnserve)Should look like:Code: [Select]OPTS='--daemon --root </path/to/my/repository/root> --config-file </path/to/my/svn/config/file>'(it pretty much acts like a header for the run script).
Re: Subversion / SVN Run File Reply #2 – 12 May 2021, 13:57:47 Many thanks.Creating the conf file in the same place as the run file worked perfectly. I must have missed that when reading the documentation