From 5c0193f847575881a20c928079dcd84e1afba978 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Tue, 12 Nov 2019 15:30:54 +0800 Subject: [PATCH] fix caddy.service not found. fix #397 #398 --- src/download-caddy.sh | 2 +- v2ray.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download-caddy.sh b/src/download-caddy.sh index b5fd2ec..56a661f 100644 --- a/src/download-caddy.sh +++ b/src/download-caddy.sh @@ -26,7 +26,7 @@ _install_caddy_service() { setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/caddy if [[ $systemd ]]; then - # cp -f ${caddy_tmp}init/linux-systemd/caddy.service /lib/systemd/system/ + cp -f ${caddy_tmp}init/linux-systemd/caddy.service /lib/systemd/system/ # if ! wget https://raw.githubusercontent.com/caddyserver/caddy/master/dist/init/linux-systemd/caddy.service -O /lib/systemd/system/caddy.service; then # echo -e "$red 下载 caddy.service 失败!$none" && exit 1 # fi diff --git a/v2ray.sh b/v2ray.sh index 0116f15..1420c13 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.25" +_version="v3.26" cmd="apt-get"