1 2 3 4 5 6
[Unit] Description=Let's Encrypt renewal [Service] Type=oneshot ExecStart=/usr/bin/certbot renew --agree-tos --deploy-hook "systemctl reload nginx"