瀏覽代碼

Merge pull request #229 from appeasementPolitik/patch-1

Only call deploy hook when mail cert is renewed
pull/230/head
Luke Smith 2 年之前
committed by GitHub
父節點
當前提交
dcbedb1917
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      emailwiz.sh

+ 2
- 2
emailwiz.sh 查看文件

@@ -320,9 +320,9 @@ spfentry="$domain TXT v=spf1 mx a:$maildomain -all"

useradd -m -G mail dmarc

grep -q "^deploy-hook = postfix reload" /etc/letsencrypt/cli.ini ||
grep -q '^deploy-hook = echo "$RENEWED_DOMAINS" | grep -q' /etc/letsencrypt/cli.ini ||
echo "
deploy-hook = service postfix reload && service dovecot reload" >> /etc/letsencrypt/cli.ini
deploy-hook = echo \"\$RENEWED_DOMAINS\" | grep -q '$maildomain' && service postfix reload && service dovecot reload" >> /etc/letsencrypt/cli.ini

echo "$dkimentry
$dmarcentry


Loading…
取消
儲存