summaryrefslogtreecommitdiff
path: root/certbot-renew-systemd.service
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-04 09:21:59 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-04 09:21:59 +0000
commit41b8dbc6d38781cc4d8d2d3ec928968dd5f0e9f7 (patch)
tree43cd2929dc433142975825d85f578e1a85e41457 /certbot-renew-systemd.service
parenta359eee63055291507cd524ec32efc15cbfc7d70 (diff)
automatic import of python-certbotopeneuler24.03_LTS_SP1openeuler24.03_LTS
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