le_services_restart.sh | ||
le-services-restart.path | ||
le-services-restart.service | ||
README.md |
Collection of Scripts an Tools to handle small "problems" of ISPConfig
Update Cert-Files and restart Services after Let's Encrypt-Certificates where updated
Stolen here: https://www.howtoforge.com/securing-your-ispconfig-3-managed-mailserver-with-a-valid-lets-encrypt-certificate/
Files are in this repository but renamed to be more neutral and not "mailserver"-stuff
Checks for configs of:
- Postfix
- Dovecot
- pure-ftpd
- influx
- coturn
Updates Cert-Files and restarts.
Update Domain-Name in files and copy them to:
/usr/local/bin/le_services_restart.sh
/etc/systemd/system/le-services-restart.service
/etc/systemd/system/le-services-restart.path
Don't forget to:
chmod +x /usr/local/bin/le_services_restart.sh
systemctl enable le-services-restart.path
systemctl start le-services-restart.path