Skip to content

Commit 26c123e

Browse files
authored
Update cert-up.sh
解决 DSM 7.0 下脚本无法重启 Nginx 更新证书的问题
1 parent 21bdd41 commit 26c123e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cert-up.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ generateCrt () {
5151
echo 'begin updating default cert by acme.sh tool'
5252
source ${ACME_BIN_PATH}/acme.sh.env
5353
${ACME_BIN_PATH}/acme.sh --force --log --issue --dns ${DNS} --dnssleep ${DNS_SLEEP} -d "${DOMAIN}" -d "*.${DOMAIN}"
54-
${ACME_BIN_PATH}/acme.sh --installcert -d ${DOMAIN} -d *.${DOMAIN} \
54+
${ACME_BIN_PATH}/acme.sh --force --installcert -d ${DOMAIN} -d *.${DOMAIN} \
5555
--certpath ${CRT_PATH}/cert.pem \
5656
--key-file ${CRT_PATH}/privkey.pem \
5757
--fullchain-file ${CRT_PATH}/fullchain.pem

0 commit comments

Comments
 (0)