Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed Feb 27, 2020
1 parent 295adce commit b338f1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ccaa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function cleanup(){
function uninstall(){
#停止所有服务
kill -9 $(pgrep 'aria2c')

kill -9 $(pgrep 'ccaa_web')
#删除服务
#systemctl disable caddy.service
#rm -rf /lib/systemd/system/caddy.service
Expand Down Expand Up @@ -218,7 +218,7 @@ case $istype in
install_aria2 && \
install_file_browser && \
dealconf && \
chk_firewall && \
chk_firewall || \
setting && \
cleanup
;;
Expand Down
Binary file modified ccaa_web
Binary file not shown.
2 changes: 1 addition & 1 deletion ccaa_web.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package main
import "net/http"

func main() {
panic(http.ListenAndServe(":6081", http.FileServer(http.Dir("/etc/ccaa"))))
panic(http.ListenAndServe(":6080", http.FileServer(http.Dir("/etc/ccaa"))))
}

0 comments on commit b338f1d

Please sign in to comment.