Browse Source

fix bug

main
xiaoz 12 months ago
parent
commit
db27b05263
  1. 4
      nginx/sh/xc.sh

4
nginx/sh/xc.sh

@ -52,10 +52,10 @@ function check_conf() {
# 检查配置/SSL证书是否有更新,有更新则重载 # 检查配置/SSL证书是否有更新,有更新则重载
function check_change() { 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 '-------------------------------------' echo '-------------------------------------'
sleep 3 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 {} +
} }

Loading…
Cancel
Save