출처: 네이버 지식인
데몬설정 ntsysv 명령으로 데몬에 들어 와 있나 확인 하시고요
안들어 왔다면
우선 리눅스 배포판에 맞추어 잘 선택하여 다운 받아 설치 하여야 하고요!
http://subversion.tigris.org/project_packages.html
기왕이면 설치된 배포판의 Subversion 설치하세요 yum 또는 up2date 로..
아래는 제가 전에 쓰던 Subversion init.d 를 위한 Daemon 입니다. (CentOS 에서..)
참고 비교 해보시길...
#########################################################################
#!/bin/bash
#
# /etc/rc.d/init.d/subversion
#
# Starts the Subversion Daemon
#
# chkconfig: 2345 90 10
# description: Subversion Daemon
# processname: svnserve
source /etc/rc.d/init.d/functions
[ -x /usr/bin/svnserve ] || exit 1
### Default variables
SYSCONFIG="/etc/sysconfig/subversion"
### Read configuration
[ -r "$SYSCONFIG" ] && source "$SYSCONFIG"
RETVAL=0
prog="svnserve"
desc="Subversion Daemon"
start() {
echo -n $"Starting $desc ($prog): "
daemon $prog -d $OPTIONS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
echo
}
stop() {
echo -n $"Shutting down $desc ($prog): "
killproc $prog
RETVAL=$?
[ $RETVAL -eq 0 ] && success || failure
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
return $RETVAL
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
RETVAL=$?
;;
condrestart)
[ -e /var/lock/subsys/$prog ] && restart
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart}"
RETVAL=1
esac
exit $RETVAL
=======================================================================
File '/etc/sysconfig/subversion'
=======================================================================
# Configuration file for the Subversion service
#
# To pass additional options (for instace, -r root of directory to # server) to the svnserve binary at startup, set OPTIONS here.
#
#OPTIONS=
OPTIONS="--threads --root /var/svn"
#########################################################################