shell-scripts/letsencrypt-renewal-hooks/10-restart-services.sh
2024-02-21 18:48:04 -06:00

5 lines
No EOL
178 B
Bash

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