management 1.0 初版完整版

pull/355/head
wulabing 2019-12-26 15:54:56 +08:00
parent f6e8460d02
commit a81e54a87a
1 changed files with 12 additions and 8 deletions

View File

@ -478,6 +478,9 @@ stop_process_systemd(){
systemctl stop nginx systemctl stop nginx
systemctl stop v2ray systemctl stop v2ray
} }
nginx_process_disabled(){
[ -f $nginx_systemd_file ] && systemctl stop nginx && systemctl disable nginx
}
#debian 系 9 10 适配 #debian 系 9 10 适配
#rc_local_initialization(){ #rc_local_initialization(){
@ -669,7 +672,6 @@ install_v2ray_ws_tls(){
start_process_systemd start_process_systemd
enable_process_systemd enable_process_systemd
acme_cron_update acme_cron_update
} }
install_v2_h2(){ install_v2_h2(){
is_root is_root
@ -684,7 +686,6 @@ install_v2_h2(){
port_exist_check ${port} port_exist_check ${port}
v2ray_conf_add v2ray_conf_add
ssl_judge_and_install ssl_judge_and_install
nginx_systemd
basic_information basic_information
vmess_qr_config_h2 vmess_qr_config_h2
vmess_qr_link_image vmess_qr_link_image
@ -792,26 +793,29 @@ menu(){
start_process_systemd start_process_systemd
;; ;;
6) 6)
show_access_log tls_modify
;; ;;
7) 7)
show_error_log show_access_log
;; ;;
8) 8)
show_error_log
;;
9)
basic_information basic_information
vmess_qr_link_image vmess_qr_link_image
show_information show_information
;; ;;
9) 10)
bbr_boost_sh bbr_boost_sh
;; ;;
10) 11)
ssl_update_manuel ssl_update_manuel
;; ;;
11) 12)
uninstall_all uninstall_all
;; ;;
12) 13)
exit 0 exit 0
;; ;;
*) *)