Improve deploy hook
This commit is contained in:
parent
fd41c1d652
commit
878a08c951
@ -320,9 +320,9 @@ spfentry="$domain TXT v=spf1 mx a:$maildomain -all"
|
|||||||
|
|
||||||
useradd -m -G mail dmarc
|
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 "
|
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
|
echo "$dkimentry
|
||||||
$dmarcentry
|
$dmarcentry
|
||||||
|
Loading…
Reference in New Issue
Block a user