shell-scripts/letsencrypt-renewal-hooks/10-restart-services.sh

5 lines
178 B
Bash
Raw Permalink Normal View History

#!/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