diff --git a/letsencrypt-renewal-hooks/10-restart-services.sh b/letsencrypt-renewal-hooks/10-restart-services.sh new file mode 100644 index 0000000..a970d32 --- /dev/null +++ b/letsencrypt-renewal-hooks/10-restart-services.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +postmap -F hash:/etc/postfix/sni +postmap -F hash:/etc/postfix/vmail_ssl.map +systemctl restart nginx && systemctl restart dovecot && systemctl restart postfix \ No newline at end of file