mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-15 13:22:55 +00:00
refactored to timer routine
This commit is contained in:
8
roles/nginx-certbot/templates/nginx-certbot.service.j2
Normal file
8
roles/nginx-certbot/templates/nginx-certbot.service.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Let's Encrypt renewal
|
||||
OnFailure=systemd-notifier@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
|
||||
ExecStartPost=/bin/systemctl reload nginx.service
|
||||
Reference in New Issue
Block a user