summaryrefslogtreecommitdiff
path: root/certbot-renew-systemd.service
diff options
context:
space:
mode:
Diffstat (limited to 'certbot-renew-systemd.service')
-rw-r--r--certbot-renew-systemd.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/certbot-renew-systemd.service b/certbot-renew-systemd.service
new file mode 100644
index 0000000..acb6b8e
--- /dev/null
+++ b/certbot-renew-systemd.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=This service automatically renews any certbot certificates found
+
+[Service]
+EnvironmentFile=/etc/sysconfig/certbot
+Type=oneshot
+ExecStart=/usr/bin/certbot renew --noninteractive --no-random-sleep-on-renew $PRE_HOOK $POST_HOOK $RENEW_HOOK $DEPLOY_HOOK $CERTBOT_ARGS