ref : http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/ cd /etc/init.d/ sudo touch svnserve sudo vi svnserve #!/bin/sh # # start/stop subversion daemon. EXECUTABLE=/usr/bin/svnserve # Test exist:ence of the executable test -f $EXECUTABLE || exit 0 # Command line options for starting the service OPTIONS='-d -r /var/svnrepos' case $1 in start) echo -n "Starting subversion daemon: $EXECUTABLE $OPTIONS\n" start-stop-daemon -vo -x $EXECUTABLE -S -- $OPTIONS echo -n "." ;; stop) echo -n "Stopping subversion daemon: $EXECUTABLE $OPTIONS\n" start-stop-daemon -K -qo -x $EXECUTABLE echo -n "." ;; force-reload) $0 restart ;; restart) $0 stop $0 start ;; *) echo 'Usage: /etc/init.d/subversion {start|stop|restart}' exit 1 ;; esac exit 0 sudo chmod +x svnserve sudo update-rc.d svnserve defaults sudo service svnserve start