CentOS下SVN服务的启动与关闭

CentOS下SVN服务的启动与关闭

操作系统:CentOS 6.5 
SVN版本:1.8.11

启动SVN服务: 
svnserve -d -r /home/svn

/home/svn 为版本库的根目录;

关闭SVN服务: 
使用以下命令查找进程 
ps aux | grep svn

# ps aux | grep svn
root     64434  0.0  0.0 181584  1120 ?        Ss   02:01   0:00 svnserve -d -r /home/svn
root     64481  0.0  0.0 103256   848 pts/1    S+   02:03   0:00 grep svn
  • 1
  • 2
  • 3

使用Kill命令杀死进程 
kill -s 9 64434

64434为进程ID

原文地址:https://www.cnblogs.com/cxsabc/p/10627615.html