initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=/usr/local/lib/systemd/certbot-ocsp-angie.sh
|
8
etc/systemd/system/certbot-ocsp-angie.service
Normal file
8
etc/systemd/system/certbot-ocsp-angie.service
Normal 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
|
10
etc/systemd/system/certbot-ocsp-angie.timer
Normal file
10
etc/systemd/system/certbot-ocsp-angie.timer
Normal 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
|
9
etc/systemd/system/certbot.service
Normal file
9
etc/systemd/system/certbot.service
Normal 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
|
10
etc/systemd/system/certbot.timer
Normal file
10
etc/systemd/system/certbot.timer
Normal 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
|
Reference in New Issue
Block a user