From 730541e76fe1c1c6bbdee93dc194febafbdf08cf Mon Sep 17 00:00:00 2001 From: wulabing Date: Mon, 15 Feb 2021 23:57:50 +0800 Subject: [PATCH] xray-0.0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [bugfix] reloadcmd 配置修正 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5673b42..d09ae5e 100644 --- a/install.sh +++ b/install.sh @@ -23,7 +23,7 @@ OK="${Green}[OK]${Font}" ERROR="${Red}[ERROR]${Font}" # 变量 -shell_version="0.0.7" +shell_version="0.0.8" github_branch="xray" version_cmp="/tmp/version_cmp.tmp" xray_conf_dir="/usr/local/etc/xray" @@ -310,7 +310,7 @@ function acme() { if "$HOME"/.acme.sh/acme.sh --issue -d "${domain}" --nginx -k ec-256 --force; then print_ok "SSL 证书生成成功" sleep 2 - if "$HOME"/.acme.sh/acme.sh --installcert -d "${domain}" --fullchainpath /ssl/xray.crt --keypath /ssl/xray.key --reloadcmd "service nginx force-reload" --ecc --force; then + if "$HOME"/.acme.sh/acme.sh --installcert -d "${domain}" --fullchainpath /ssl/xray.crt --keypath /ssl/xray.key --reloadcmd "systemctl restart xray" --ecc --force; then print_ok "SSL 证书配置成功" sleep 2 fi