From b2f7df9daa50bf61b8be9b70865dac84b23bab1c Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sat, 17 Oct 2020 14:41:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=8E=92=E9=94=99fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/install.sh b/install.sh index 9618262..1b99fbe 100644 --- a/install.sh +++ b/install.sh @@ -812,24 +812,24 @@ installV2RayService(){ execStart='/etc/v2ray-agent/v2ray/v2ray -confdir /etc/v2ray-agent/v2ray/conf' fi cat << EOF > /etc/systemd/system/v2ray.service - [Unit] - Description=V2Ray - A unified platform for anti-censorship - Documentation=https://v2ray.com https://guide.v2fly.org - After=network.target nss-lookup.target - Wants=network-online.target +[Unit] +Description=V2Ray - A unified platform for anti-censorship +Documentation=https://v2ray.com https://guide.v2fly.org +After=network.target nss-lookup.target +Wants=network-online.target - [Service] - Type=simple - User=root - CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW - NoNewPrivileges=yes - ExecStart=${execStart} - Restart=on-failure - RestartPreventExitStatus=23 +[Service] +Type=simple +User=root +CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW +NoNewPrivileges=yes +ExecStart=${execStart} +Restart=on-failure +RestartPreventExitStatus=23 - [Install] - WantedBy=multi-user.target +[Install] +WantedBy=multi-user.target EOF systemctl daemon-reload systemctl enable v2ray.service @@ -2018,7 +2018,7 @@ menu(){ echoContent yellow "2.任意组合安装" echoContent skyBlue "-------------------------工具管理-----------------------------" echoContent yellow "3.查看账号" - echoContent yellow "4.自动排错" + echoContent yellow "4.自动排错 [fail]" echoContent yellow "5.更新证书 [fail]" echoContent yellow "6.更换CDN节点" echoContent yellow "7.重置uuid" @@ -2046,9 +2046,9 @@ menu(){ 3) showAccounts 1 ;; - 4) - checkFail 1 - ;; +# 4) +# checkFail 1 +# ;; # 5) # renewalTLS 1 # ;;