Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed May 1, 2020
1 parent fb69ed8 commit c033842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dccaa
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function ccaa_start(){
nohup aria2c --conf-path=/etc/ccaa/aria2.conf > /var/log/aria2.log 2>&1 &
nohup /usr/sbin/ccaa_web > /var/log/ccaa_web.log 2>&1 &
nohup filebrowser -c /etc/ccaa/config.json > /var/log/fbrun.log 2>&1 &
exit
sleep 1
}

case $1 in
Expand Down
12 changes: 6 additions & 6 deletions docker-ccaa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ echo "1) 安装CCAA"
echo "2) 卸载CCAA"
echo "3) 更新bt-tracker"
echo "q) 退出!"
read -p ":" istype
case $istype in
1)
#read -p ":" istype
case $1 in
'install')
check
setout
install_aria2 && \
Expand All @@ -154,13 +154,13 @@ case $istype in
setting && \
cleanup
;;
2)
'uninstall')
uninstall
;;
3)
'upbt')
sh /etc/ccaa/upbt.sh
;;
q)
'q')
exit
;;
*) echo '参数错误!'
Expand Down

0 comments on commit c033842

Please sign in to comment.