dot-files/etc/systemd/system/certbot-renewal.service

7 lines
188 B
SYSTEMD

[Unit]
Description=Automatically renews SSL certificates obtained with certbot
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew -q --post-hook /usr/local/bin/certbot-restart-nginx