论坛首页 Java企业应用论坛

重启进程-使用*.pid文件

浏览 1298 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2013-12-11  
kill -9 `cat /application/search/rsync/rsync-3.0.9/log/rsyncd.pid`
会遗留 *.pid文件,影响下次重启

所以使用
kill -HUP `cat /application/search/rsync/rsync-3.0.9/log/rsyncd.pid`
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics