Add acme.sh cron job

This commit is contained in:
Disassembler 2020-04-04 20:33:08 +02:00
parent e7e255488d
commit 391859ded4
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit 43f55e59172836e8f7a1390fac82a1070b4660c4
Subproject commit 3b9cbe61b326d2ac829305996b6c2dd3f0e6e635

View File

@ -0,0 +1,5 @@
#!/bin/sh
# Sleep randomly up to 1hr to avoid peak on ACME server
/bin/sleep $(/usr/bin/shuf -i 60-3600 -n 1)
/usr/bin/acme.sh --home /etc/acme.sh.d --cron >/dev/null