November 4, 2015?Views:?250ArticlesDebian,?Subversion,?WanDisco
If you would like to use the latest version of Subversion and prefer using the package manager like me, the following steps below will enable you to install Subversion 1.9 from the WanDisco repositories. At the time of writing, the latest version in the WanDisco repo is 1.9.2.
1
#!/bin/bash
2
# download the GPG key of the repository and add it to apt:
It is important to note that the subversion install on?Debian?Jessie does not include a systemd start script for svnserve. This problem can easily be solved with the service start script provided below. Create an executable file at?/etc/init.d/svnserve?with the contents below. Note the?OPTIONS?line in the script below will need to be updated to reflect your specific environment.
view source print?
1
#!/bin/sh -e
2
### BEGIN INIT INFO
3
# Provides:????????? subversion
4
# Required-Start:??? $network
5
# Required-Stop:???? $network
6
# Default-Start:???? 2 3 4 5
7
# Default-Stop:????? 0 1 6
8
# Short-Description: Start daemon at boot time
9
# Description:?????? Enable service provided by daemon.
Once your script is in place and set as executable, you can test it with the command below. Assuming your test succeeds, you can then instruct systemd to start the service at boot time.