重启rsync

 

 

http://5iwww.blog.51cto.com/856039/284956

   

重启 rsync
   # 要 Kill rsync 进程,不要用 kill -HUP {PID} 的方式重启进程。
   # ps -ef|grep rsync|grep -v grep|awk '{print $2}'|xargs kill -9
   #也可以用
   # cat /var/run/rsyncd.pid | xargs kill -9
   # /usr/bin/rsync --daemon

 

http://tlinle.blog.51cto.com/251944/590186

 

     

一、配置xinetd服务打开rsync服务
#vim /etc/xinetd.d/rsync

把disabled = yes 改为 no

 

三、重启服务   
service xinetd restart

 

 

 

 

posted @ 2013-04-18 14:38  陳聽溪  阅读(6155)  评论(0)    收藏  举报