From db27b0526317e51dfdb5fe6c87427ee4aaf046ff Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 23 Nov 2023 15:22:52 +0800 Subject: [PATCH] fix bug --- nginx/sh/xc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/sh/xc.sh b/nginx/sh/xc.sh index d163673..b1d0b2f 100644 --- a/nginx/sh/xc.sh +++ b/nginx/sh/xc.sh @@ -52,10 +52,10 @@ function check_conf() { # 检查配置/SSL证书是否有更新,有更新则重载 function check_change() { - find ${CONF_PATH}/conf/ -mmin -1 -exec /usr/sbin/xc.sh reload {} + + find ${CONF_PATH} -mmin -1 -exec /usr/sbin/xc.sh reload {} + echo '-------------------------------------' sleep 3 - find ${SSL_PATH}/ssl/ -mmin -1 -exec /usr/sbin/xc.sh reload {} + + find ${SSL_PATH} -mmin -1 -exec /usr/sbin/xc.sh reload {} + }