配置BT服务器
配置服务器
#wget
case$1in
start)
nohup/opt/BitTorrent-3.4.2/bttrack.py--port6969--dfiledstate>>/opt/log/bttrack.log&
sleep1
nohup/opt/BitTorrent-3.4.2/btdownloadheadless.py--max_allow_in20--max_upload_rate5000--minport6888--maxport6960/opt/CentOS-5.2-x86_64-bin-DVD.iso.torrent--saveas/opt/CentOS-5.2-x86_64-bin-DVD.iso>/dev/null&
echo"BTstarted"
;;
stop)
ps-efw|grep'bttrack.py'|grep-vgrep|awk'{print$2}'|xargskill&&killallpython||\
echo"BTnotstoped,Pleasekillitbyhand"
;;
show)
ps-efw|greppython|grep-vgrep
;;
*)
echo"Usage:./btseed.shstart|stop|show"
;;
esac
Tags:配置服务器,配置BT服务器
版权声明:本站文章来源标注为YINGSOO的内容版权均为本站所有,欢迎引用、转载,请保持原文完整并注明来源及原文链接。禁止复制或仿造本网站,禁止在非www.yingsoo.com所属的服务器上建立镜像,否则将依法追究法律责任。本站部分内容来源于网友推荐、互联网收集整理而来,仅供学习参考,不代表本站立场,如有内容涉嫌侵权,请联系alex-e#qq.com处理。