initial commit

This commit is contained in:
2024-06-12 03:22:03 +03:00
commit f8f340d552
16 changed files with 470 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[Service]
ExecStartPre=/usr/local/lib/systemd/certbot-ocsp-angie.sh

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Certbot - refresh OCSP responses for Angie
Documentation=https://angie.software/en/configuration/modules/http_ssl/#ssl-stapling-file
[Service]
Type=oneshot
ExecStart=/usr/local/lib/systemd/certbot-ocsp-angie.sh
PrivateTmp=true

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run certbot-ocsp-angie.service twice daily
[Timer]
OnCalendar=*-*-* 06,18:00:00
RandomizedDelaySec=3600
Persistent=true
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Certbot
Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
Documentation=https://certbot.eff.org/docs
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/certbot -q renew --no-random-sleep-on-renew
PrivateTmp=true

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run certbot.service twice daily
[Timer]
OnCalendar=*-*-* 00,12:00:00
RandomizedDelaySec=3600
Persistent=true
[Install]
WantedBy=timers.target