Add encrypt hooks script for letsencrypt
This commit is contained in:
parent
6aa44ea7e8
commit
0290749cee
1 changed files with 5 additions and 0 deletions
5
letsencrypt-renewal-hooks/10-restart-services.sh
Normal file
5
letsencrypt-renewal-hooks/10-restart-services.sh
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue