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

9 lines
213 B
Plaintext
Raw Normal View History

2020-12-24 14:27:31 +01:00
[Unit]
Description=Let's Encrypt renewal
OnFailure=systemd-notifier.cymais@%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