Add acme.sh cron job
This commit is contained in:
parent
e7e255488d
commit
391859ded4
@ -1 +1 @@
|
|||||||
Subproject commit 43f55e59172836e8f7a1390fac82a1070b4660c4
|
Subproject commit 3b9cbe61b326d2ac829305996b6c2dd3f0e6e635
|
5
vm/etc/periodic/daily/acme.sh
Normal file
5
vm/etc/periodic/daily/acme.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user