diff --git a/le_mailserver_restart.sh b/le_mailserver_restart.sh index 663ffce..c72bc50 100644 --- a/le_mailserver_restart.sh +++ b/le_mailserver_restart.sh @@ -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 \ No newline at end of file +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