diff --git a/ccaa.sh b/ccaa.sh index f85b75d..3d8480f 100644 --- a/ccaa.sh +++ b/ccaa.sh @@ -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 @@ -218,7 +218,7 @@ case $istype in install_aria2 && \ install_file_browser && \ dealconf && \ - chk_firewall && \ + chk_firewall || \ setting && \ cleanup ;; diff --git a/ccaa_web b/ccaa_web index 4c6ba23..95f5c0c 100644 Binary files a/ccaa_web and b/ccaa_web differ diff --git a/ccaa_web.go b/ccaa_web.go index bb13ba7..21a2e78 100644 --- a/ccaa_web.go +++ b/ccaa_web.go @@ -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")))) } \ No newline at end of file