svnserve -d -r /var/www/svndata
-----------------
ps -aux
kill -9 pidnum

-------------
export LANG=zh_CN.UTF-8
REPOS="$1"
REV="$2"
SVN_PATH=/usr/bin/svn
WEB_PATH=/var/www/html/web4
SVN_USER=hk2015
SVN_PASS=123456
WEB_USER=apache
LOG_PATH=/tmp/svn.log
echo `date "+%Y-%m-%d %H:%M:%S"` >> $LOG_PATH
echo `whoami`,$REPOS,$REV >> $LOG_PATH
svn update $WEB_PATH --username $SVN_USER --password $SVN_PASS --no-auth-cache >> $LOG_PATH
chown $WEB_USER.$WEB_USER -R $WEB_PATH
-------------------------------------
chown apache:apache /var/www/svndata/web4/hooks/post-commit
---------------
env – ./post-commit