computer-playbook/roles/native-certbot-nginx/templates/certbot.service

9 lines
203 B
SYSTEMD
Raw Normal View History

2020-12-24 14:27:31 +01:00
[Unit]
Description=Let's Encrypt renewal
2021-03-22 18:18:07 +01:00
OnFailure=systemd-email@%n.service
2020-12-24 14:27:31 +01:00
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
ExecStartPost=/bin/systemctl reload nginx.service