added update of cert and restart ftp-daemon

This commit is contained in:
Alexander Gabriel 2025-01-15 21:35:25 +01:00
parent 725be731aa
commit 252ebc6eb9

View File

@ -9,4 +9,7 @@
# Description: Restart mail server automatically when a new Let's Encrypt certificate is issued.
### END INIT INFO
systemctl restart postfix
systemctl restart dovecot
systemctl restart dovecot
cat /root/.acme.sh/mail.example.com/fullchain.pem > /etc/ssl/private/pure-ftpd.pem
cat /root/.acme.sh/mail.example.com/mail.example.com.key >> /etc/ssl/private/pure-ftpd.pem
systemctl restart pure-ftpd-mysql.service