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

9 lines
203 B
Desktop File

[Unit]
Description=Let's Encrypt renewal
OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
ExecStartPost=/bin/systemctl reload nginx.service