Parcourir la source
Merge pull request #229 from appeasementPolitik/patch-1
Only call deploy hook when mail cert is renewed
pull/230/head
Luke Smith
il y a 2 ans
committed by
GitHub
Parent
révision
dcbedb1917
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec
2 ajouts et
2 suppressions
-
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 |
|
|
|