summaryrefslogtreecommitdiff
path: root/roles/certbot/files/certbot.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/certbot/files/certbot.service')
-rw-r--r--roles/certbot/files/certbot.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/certbot/files/certbot.service b/roles/certbot/files/certbot.service
new file mode 100644
index 0000000..bea307c
--- /dev/null
+++ b/roles/certbot/files/certbot.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Let's Encrypt renewal
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/certbot renew --agree-tos --deploy-hook "systemctl reload nginx"